Author: ddunbar
Date: Tue Feb  5 15:43:30 2013
New Revision: 174443

URL: http://llvm.org/viewvc/llvm-project?rev=174443&view=rev
Log:
[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.

Modified:
    libcxx/trunk/test/lit.cfg

Modified: libcxx/trunk/test/lit.cfg
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/lit.cfg?rev=174443&r1=174442&r2=174443&view=diff
==============================================================================
--- libcxx/trunk/test/lit.cfg (original)
+++ libcxx/trunk/test/lit.cfg Tue Feb  5 15:43:30 2013
@@ -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,))


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to