summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJulian Lettner <jlettner@apple.com>2019-07-22 21:13:19 +0000
committerJulian Lettner <jlettner@apple.com>2019-07-22 21:13:19 +0000
commit961abe4fbc29b62a9672b6feb277c62398da9a21 (patch)
treec7121c9c9dd85fda010102c1a7dd9ab013adb43a /test
parent8de9918a1cdb0072162f3cda17ad6bd1caacac78 (diff)
downloadcompiler-rt-961abe4fbc29b62a9672b6feb277c62398da9a21.tar.gz
[TSan] Enable fiber tests on iOS simulator
These tests *do not* work on device, but they *do* work in the simulator. rdar://53403778 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@366738 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/tsan/fiber_from_thread.cc2
-rw-r--r--test/tsan/fiber_longjmp.cc2
-rw-r--r--test/tsan/fiber_race.cc2
-rw-r--r--test/tsan/fiber_simple.cc2
-rw-r--r--test/tsan/fiber_two_threads.cc2
5 files changed, 5 insertions, 5 deletions
diff --git a/test/tsan/fiber_from_thread.cc b/test/tsan/fiber_from_thread.cc
index c22d0839e..d27379e7a 100644
--- a/test/tsan/fiber_from_thread.cc
+++ b/test/tsan/fiber_from_thread.cc
@@ -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"
diff --git a/test/tsan/fiber_longjmp.cc b/test/tsan/fiber_longjmp.cc
index 3f68e92a3..e56fd21be 100644
--- a/test/tsan/fiber_longjmp.cc
+++ b/test/tsan/fiber_longjmp.cc
@@ -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>
diff --git a/test/tsan/fiber_race.cc b/test/tsan/fiber_race.cc
index 0f08cdc2d..add66940f 100644
--- a/test/tsan/fiber_race.cc
+++ b/test/tsan/fiber_race.cc
@@ -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"
diff --git a/test/tsan/fiber_simple.cc b/test/tsan/fiber_simple.cc
index e1fd9bd04..8123eb8ea 100644
--- a/test/tsan/fiber_simple.cc
+++ b/test/tsan/fiber_simple.cc
@@ -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"
diff --git a/test/tsan/fiber_two_threads.cc b/test/tsan/fiber_two_threads.cc
index 02f1c1759..d2961b94d 100644
--- a/test/tsan/fiber_two_threads.cc
+++ b/test/tsan/fiber_two_threads.cc
@@ -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"