Prevent the test suite from hanging when run against libstdc++

llvm-svn: 283975
This commit is contained in:
Eric Fiselier 2016-10-12 04:29:50 +00:00
parent a907b5ca7c
commit 76e316f995
2 changed files with 6 additions and 0 deletions

View File

@ -226,6 +226,7 @@ class Configuration(object):
'unsupported value for "cxx_stdlib_under_test": %s'
% self.cxx_stdlib_under_test)
if self.cxx_stdlib_under_test == 'libstdc++':
self.config.available_features.add('libstdc++')
# Manually enable the experimental and filesystem tests for libstdc++
# if the options aren't present.
# FIXME this is a hack.

View File

@ -10,6 +10,11 @@
// XFAIL: libcpp-no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// This test hangs forever when built against libstdc++. In order to allow
// validation of the test suite against other STLs we have to mark it
// unsupported.
// UNSUPPORTED: libstdc++
// <mutex>
// template <class L1, class L2, class... L3>