[TSan] Enable fiber tests on iOS simulator
authorJulian Lettner <jlettner@apple.com>
Mon, 22 Jul 2019 21:13:19 +0000 (21:13 +0000)
committerJulian Lettner <jlettner@apple.com>
Mon, 22 Jul 2019 21:13:19 +0000 (21:13 +0000)
These tests *do not* work on device, but they *do* work in the
simulator.

rdar://53403778

llvm-svn: 366738

compiler-rt/test/tsan/fiber_from_thread.cc
compiler-rt/test/tsan/fiber_longjmp.cc
compiler-rt/test/tsan/fiber_race.cc
compiler-rt/test/tsan/fiber_simple.cc
compiler-rt/test/tsan/fiber_two_threads.cc

index c22d083..d27379e 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 // UNSUPPORTED: tvos, watchos
-// XFAIL: ios
+// XFAIL: ios && !iossim
 #include "sanitizer_common/sanitizer_ucontext.h"
 #include "test.h"
 
index 3f68e92..e56fd21 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 // UNSUPPORTED: tvos, watchos
-// XFAIL: ios
+// XFAIL: ios && !iossim
 #include "sanitizer_common/sanitizer_ucontext.h"
 #include "test.h"
 #include <setjmp.h>
index 0f08cdc..add6694 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_tsan -O1 %s -o %t && %deflake %run %t 2>&1 | FileCheck %s
 // UNSUPPORTED: tvos, watchos
-// XFAIL: ios
+// XFAIL: ios && !iossim
 #include "sanitizer_common/sanitizer_ucontext.h"
 #include "test.h"
 
index e1fd9bd..8123eb8 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 // UNSUPPORTED: tvos, watchos
-// XFAIL: ios
+// XFAIL: ios && !iossim
 #include "sanitizer_common/sanitizer_ucontext.h"
 #include "test.h"
 
index 02f1c17..d2961b9 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: %clang_tsan -O1 %s -o %t && %run %t 2>&1 | FileCheck %s
 // UNSUPPORTED: tvos, watchos
-// XFAIL: ios
+// XFAIL: ios && !iossim
 #include "sanitizer_common/sanitizer_ucontext.h"
 #include "test.h"