[PATCH] D27614: Mark tests as unsupported under libcpp-no-exceptions
Roger Ferrer Ibanez via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 9 04:00:23 PST 2016
rogfer01 created this revision.
rogfer01 added reviewers: EricWF, mclow.lists, rmaprath.
rogfer01 added a subscriber: cfe-commits.
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.
https://reviews.llvm.org/D27614
Files:
test/std/thread/futures/futures.shared_future/dtor.pass.cpp
test/std/thread/futures/futures.unique_future/dtor.pass.cpp
Index: test/std/thread/futures/futures.unique_future/dtor.pass.cpp
===================================================================
--- test/std/thread/futures/futures.unique_future/dtor.pass.cpp
+++ 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
Index: test/std/thread/futures/futures.shared_future/dtor.pass.cpp
===================================================================
--- test/std/thread/futures/futures.shared_future/dtor.pass.cpp
+++ 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27614.80877.patch
Type: text/x-patch
Size: 1020 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161209/e3f3bc21/attachment.bin>
More information about the cfe-commits
mailing list