Author: ericwf
Date: Fri Oct 28 06:01:12 2016
New Revision: 285392

URL: http://llvm.org/viewvc/llvm-project?rev=285392&view=rev
Log:
Fix test when using an installed libc++

Modified:
    libcxx/trunk/test/libcxx/test/config.py
    libcxx/trunk/test/libcxx/version.pass.cpp

Modified: libcxx/trunk/test/libcxx/test/config.py
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=285392&r1=285391&r2=285392&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Fri Oct 28 06:01:12 2016
@@ -290,6 +290,7 @@ class Configuration(object):
         # XFAIL markers for tests that are known to fail with versions of
         # libc++ as were shipped with a particular triple.
         if self.use_system_cxx_lib:
+            self.config.available_features.add('with_system_cxx_lib')
             self.config.available_features.add(
                 'with_system_cxx_lib=%s' % self.config.target_triple)
 

Modified: libcxx/trunk/test/libcxx/version.pass.cpp
URL: 
http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/version.pass.cpp?rev=285392&r1=285391&r2=285392&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/version.pass.cpp (original)
+++ libcxx/trunk/test/libcxx/version.pass.cpp Fri Oct 28 06:01:12 2016
@@ -8,6 +8,8 @@
 //
 
//===----------------------------------------------------------------------===//
 
+// UNSUPPORTED: with_system_cxx_lib
+
 // Test the _LIBCPP_VERSION and _LIBCPP_LIBRARY_VERSION macros
 
 #include <__config>


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to