summaryrefslogtreecommitdiff
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
commit47b1cefa76d219a81e0436dc5c8de03f9c6f557a (patch)
tree6628ac40655cff33a321f407285840a72e967978
parent1d3240888f4ac6d4a00a67f982e6ae9b26953409 (diff)
downloadlibcxx-47b1cefa76d219a81e0436dc5c8de03f9c6f557a.tar.gz
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 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@291550 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/std/thread/futures/futures.shared_future/dtor.pass.cpp2
-rw-r--r--test/std/thread/futures/futures.unique_future/dtor.pass.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/std/thread/futures/futures.shared_future/dtor.pass.cpp b/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
index af0612684..39a8e517d 100644
--- a/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
+++ b/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/test/std/thread/futures/futures.unique_future/dtor.pass.cpp b/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
index 03d7c915c..af908d7e7 100644
--- a/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
+++ b/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