summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2013-02-05 21:43:30 +0000
committerDaniel Dunbar <daniel@zuster.org>2013-02-05 21:43:30 +0000
commit582c97defa3dee390701a38b8c3d4e4971fed647 (patch)
tree1bdfdc42df39bd2d5046f6df4d4951edfadf912d
parentdec25266d71136bd6282b708dc8dafa0fbfe3204 (diff)
downloadbcm5719-llvm-582c97defa3dee390701a38b8c3d4e4971fed647.tar.gz
bcm5719-llvm-582c97defa3dee390701a38b8c3d4e4971fed647.zip
[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. llvm-svn: 174443
-rw-r--r--libcxx/test/lit.cfg8
1 files changed, 8 insertions, 0 deletions
diff --git a/libcxx/test/lit.cfg b/libcxx/test/lit.cfg
index 30d4416099e..862a1bf627e 100644
--- a/libcxx/test/lit.cfg
+++ b/libcxx/test/lit.cfg
@@ -278,3 +278,11 @@ config.test_format = LibcxxTestFormat(
config.target_triple = lit.params.get(
'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,))
OpenPOWER on IntegriCloud