Fix test when using an installed libc++

llvm-svn: 285392
This commit is contained in:
Eric Fiselier 2016-10-28 11:01:12 +00:00
parent a8c44ba2c0
commit a32a961b10
2 changed files with 3 additions and 0 deletions

View 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)

View File

@ -8,6 +8,8 @@
//
//===----------------------------------------------------------------------===//
// UNSUPPORTED: with_system_cxx_lib
// Test the _LIBCPP_VERSION and _LIBCPP_LIBRARY_VERSION macros
#include <__config>