[tests] Add an available feature that combines the triple and use_system_lib.
- This is so that we can easily write XFAIL markers for tests that are known to fail with versions of libc++ as were shipped with a particular triple. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@174443 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
81d1ef7a3f
commit
a5b51964c1
@ -278,3 +278,11 @@ config.test_format = LibcxxTestFormat(
|
|||||||
|
|
||||||
config.target_triple = lit.params.get(
|
config.target_triple = lit.params.get(
|
||||||
'target_triple', 'unknown-unknown-unknown')
|
'target_triple', 'unknown-unknown-unknown')
|
||||||
|
|
||||||
|
# Write an "available feature" that combines the triple when use_system_lib is
|
||||||
|
# enabled. This is so that we can easily write XFAIL markers for tests that are
|
||||||
|
# known to fail with versions of libc++ as were shipped with a particular
|
||||||
|
# triple.
|
||||||
|
if use_system_lib:
|
||||||
|
config.available_features.add('with_system_lib=%s' % (
|
||||||
|
config.target_triple,))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user