summaryrefslogtreecommitdiff
path: root/test/tsan
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-10-11 21:22:45 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2017-10-11 21:22:45 +0000
commite3e1659d13986a80ea90f480ddf5af45f1134c48 (patch)
treeaa338870d0f235d728768efd35ed92ed9073bcd8 /test/tsan
parentc16a15f6ecaface37c1e85811035c25516ce5e41 (diff)
Disable TSan tests on Android.
They never passed. This change excludes them from 'check-all'. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@315512 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/tsan')
-rw-r--r--test/tsan/CMakeLists.txt2
-rw-r--r--test/tsan/lit.cfg3
2 files changed, 4 insertions, 1 deletions
diff --git a/test/tsan/CMakeLists.txt b/test/tsan/CMakeLists.txt
index a68908612..af329562d 100644
--- a/test/tsan/CMakeLists.txt
+++ b/test/tsan/CMakeLists.txt
@@ -9,7 +9,7 @@ if(NOT COMPILER_RT_STANDALONE_BUILD)
endif()
if(COMPILER_RT_HAS_LIBCXX_SOURCES AND
COMPILER_RT_TEST_COMPILER_ID STREQUAL "Clang"
- AND NOT APPLE)
+ AND NOT APPLE AND NOT ANDROID)
list(APPEND TSAN_TEST_DEPS libcxx_tsan)
set(TSAN_HAS_LIBCXX True)
else()
diff --git a/test/tsan/lit.cfg b/test/tsan/lit.cfg
index 10f31b06e..95c7d7cc3 100644
--- a/test/tsan/lit.cfg
+++ b/test/tsan/lit.cfg
@@ -83,5 +83,8 @@ config.suffixes = ['.c', '.cc', '.cpp', '.m', '.mm']
if config.host_os not in ['FreeBSD', 'Linux', 'Darwin']:
config.unsupported = True
+if config.android:
+ config.unsupported = True
+
if config.host_os == 'Darwin' and config.target_arch in ["x86_64", "x86_64h"]:
config.parallelism_group = "darwin-64bit-sanitizer"