summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread
diff options
context:
space:
mode:
authorRoger Ferrer Ibanez <roger.ferreribanez@arm.com>2017-01-10 08:48:48 +0000
committerRoger Ferrer Ibanez <roger.ferreribanez@arm.com>2017-01-10 08:48:48 +0000
commite8623b90ae143ec22605d98f39ab9cedcff3158f (patch)
tree65c2d19371701e4901b254ca7aa5ba77f936f8b9 /libcxx/test/std/thread
parentf468b5d32f98691b62928af61e2df57cbdde4bc9 (diff)
downloadbcm5719-llvm-e8623b90ae143ec22605d98f39ab9cedcff3158f.tar.gz
bcm5719-llvm-e8623b90ae143ec22605d98f39ab9cedcff3158f.zip
Mark tests as unsupported under libcpp-no-exceptions
The destructor of std::promise needs to construct a std::future_error exception so it calls std::make_exception_ptr. But under libcpp-no-exceptions this will trigger an abort. Differential Revision: https://reviews.llvm.org/D27614 llvm-svn: 291550
Diffstat (limited to 'libcxx/test/std/thread')
-rw-r--r--libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp2
-rw-r--r--libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp b/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
index af061268410..39a8e517dae 100644
--- a/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
diff --git a/libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp b/libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
index 03d7c915cb6..af908d7e77a 100644
--- a/libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
@@ -7,7 +7,7 @@
//
//===----------------------------------------------------------------------===//
//
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
// UNSUPPORTED: libcpp-has-no-threads
// UNSUPPORTED: c++98, c++03
OpenPOWER on IntegriCloud