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

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@283975 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-10-12 04:29:50 +00:00
parent fc6e622f19
commit 4432d3f204
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' 'unsupported value for "cxx_stdlib_under_test": %s'
% self.cxx_stdlib_under_test) % self.cxx_stdlib_under_test)
if self.cxx_stdlib_under_test == 'libstdc++': if self.cxx_stdlib_under_test == 'libstdc++':
self.config.available_features.add('libstdc++')
# Manually enable the experimental and filesystem tests for libstdc++ # Manually enable the experimental and filesystem tests for libstdc++
# if the options aren't present. # if the options aren't present.
# FIXME this is a hack. # FIXME this is a hack.

View File

@@ -10,6 +10,11 @@
// XFAIL: libcpp-no-exceptions // XFAIL: libcpp-no-exceptions
// UNSUPPORTED: libcpp-has-no-threads // 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> // <mutex>
// template <class L1, class L2, class... L3> // template <class L1, class L2, class... L3>