[libcxx] r291550 - Mark tests as unsupported under libcpp-no-exceptions

Roger Ferrer Ibanez via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 10 00:48:49 PST 2017


Author: rogfer01
Date: Tue Jan 10 02:48:48 2017
New Revision: 291550

URL: http://llvm.org/viewvc/llvm-project?rev=291550&view=rev
Log:
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


Modified:
    libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
    libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp

Modified: libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp?rev=291550&r1=291549&r2=291550&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.shared_future/dtor.pass.cpp Tue Jan 10 02:48:48 2017
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: libcpp-has-no-threads
 // UNSUPPORTED: c++98, c++03
 

Modified: libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp?rev=291550&r1=291549&r2=291550&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.unique_future/dtor.pass.cpp Tue Jan 10 02:48:48 2017
@@ -7,7 +7,7 @@
 //
 //===----------------------------------------------------------------------===//
 //
-// XFAIL: libcpp-no-exceptions
+// UNSUPPORTED: libcpp-no-exceptions
 // UNSUPPORTED: libcpp-has-no-threads
 // UNSUPPORTED: c++98, c++03
 




More information about the cfe-commits mailing list