summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/thread/futures
diff options
context:
space:
mode:
authorLouis Dionne <ldionne@apple.com>2018-11-29 21:25:29 +0000
committerLouis Dionne <ldionne@apple.com>2018-11-29 21:25:29 +0000
commit9af1d12978a4a640abb3dd969638932e348e7604 (patch)
tree703afa79d0540863ade704341dd8d15dc2bebc8e /libcxx/test/std/thread/futures
parent3ce5d827fc857b79e6de4d3d86c7443f1551fc4e (diff)
downloadbcm5719-llvm-9af1d12978a4a640abb3dd969638932e348e7604.tar.gz
bcm5719-llvm-9af1d12978a4a640abb3dd969638932e348e7604.zip
[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. llvm-svn: 347920
Diffstat (limited to 'libcxx/test/std/thread/futures')
-rw-r--r--libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp b/libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
index 9374c5079c0..bc82ba849c3 100644
--- a/libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
+++ b/libcxx/test/std/thread/futures/futures.async/async_race.38682.pass.cpp
@@ -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.
OpenPOWER on IntegriCloud