Fix test when using an installed libc++
authorEric Fiselier <eric@efcs.ca>
Fri, 28 Oct 2016 11:01:12 +0000 (11:01 +0000)
committerEric Fiselier <eric@efcs.ca>
Fri, 28 Oct 2016 11:01:12 +0000 (11:01 +0000)
llvm-svn: 285392

libcxx/test/libcxx/test/config.py
libcxx/test/libcxx/version.pass.cpp

index 4e989b8..6549324 100644 (file)
@@ -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)
 
index 8a29c5b..a9e8c34 100644 (file)
@@ -8,6 +8,8 @@
 //
 //===----------------------------------------------------------------------===//
 
+// UNSUPPORTED: with_system_cxx_lib
+
 // Test the _LIBCPP_VERSION and _LIBCPP_LIBRARY_VERSION macros
 
 #include <__config>