[libcxx] Make UNSUPPORTED for std::async test more fine grained
authorLouis Dionne <ldionne@apple.com>
Thu, 29 Nov 2018 21:25:29 +0000 (21:25 +0000)
committerLouis Dionne <ldionne@apple.com>
Thu, 29 Nov 2018 21:25:29 +0000 (21:25 +0000)
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

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

index 9374c50..bc82ba8 100644 (file)
 
 // 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.