[libc++] Do not set the `availability=XXX` feature when not testing against a system...
authorLouis Dionne <ldionne@apple.com>
Fri, 21 Feb 2020 18:53:50 +0000 (13:53 -0500)
committerLouis Dionne <ldionne@apple.com>
Fri, 21 Feb 2020 19:21:16 +0000 (14:21 -0500)
commit7dd6a862e5ece866c787d4509a5a5cad19531fbc
tree3ef0c3c009c398cf0af945af65dc485619723522
parent73d8d83a6d9adac3216ea8a39eb502b2a5c4d083
[libc++] Do not set the `availability=XXX` feature when not testing against a system libc++

Otherwise, the `availability=XXX` lit feature is set even when we're
testing trunk and _LIBCPP_DISABLE_AVAILABILITY is defined, which causes
tests that check for availability markup to be enabled and unexpectedly
pass.
libcxx/utils/libcxx/test/config.py