[libcxx] r347920 - [libcxx] Make UNSUPPORTED for std::async test more fine grained

Louis Dionne ldionne at apple.com
Thu Nov 29 13:25:29 PST 2018


Author: ldionne
Date: Thu Nov 29 13:25:29 2018
New Revision: 347920

URL: http://llvm.org/viewvc/llvm-project?rev=347920&view=rev
Log:
[libcxx] Make UNSUPPORTED for std::async test more fine grained

The test was previously marked as unsupported on all Apple platforms, when
we really just want to mark it as unsupported for previously shipped dylibs
on macosx.

Modified:
    libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp

Modified: libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp?rev=347920&r1=347919&r2=347920&view=diff
==============================================================================
--- libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp (original)
+++ libcxx/trunk/test/std/thread/futures/futures.async/async_race.38682.pass.cpp Thu Nov 29 13:25:29 2018
@@ -12,7 +12,14 @@
 
 // There's currently no release of OS X whose dylib contains the patch for
 // PR38682. Since the fix for future<void> is in the dylib, this test may fail.
-// UNSUPPORTED: apple-darwin
+// UNSUPPORTED: with_system_cxx_lib=macosx10.14
+// UNSUPPORTED: with_system_cxx_lib=macosx10.13
+// UNSUPPORTED: with_system_cxx_lib=macosx10.12
+// UNSUPPORTED: with_system_cxx_lib=macosx10.11
+// UNSUPPORTED: with_system_cxx_lib=macosx10.10
+// UNSUPPORTED: with_system_cxx_lib=macosx10.9
+// UNSUPPORTED: with_system_cxx_lib=macosx10.8
+// UNSUPPORTED: with_system_cxx_lib=macosx10.7
 
 // This test is designed to cause and allow TSAN to detect a race condition
 // in std::async, as reported in https://bugs.llvm.org/show_bug.cgi?id=38682.




More information about the libcxx-commits mailing list