diff options
| author | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-27 11:28:53 +0000 |
|---|---|---|
| committer | Viktor Kutuzov <vkutuzov@accesssoftek.com> | 2014-10-27 11:28:53 +0000 |
| commit | c8f3435f0ea4e8aadf575a1b313ba57390619aa8 (patch) | |
| tree | 71860f135fe35c31a123432b514d3ac0fcbc2570 | |
| parent | bff42de11c85b66deba10d26594ca00d599aff91 (diff) | |
| download | bcm5719-llvm-c8f3435f0ea4e8aadf575a1b313ba57390619aa8.tar.gz bcm5719-llvm-c8f3435f0ea4e8aadf575a1b313ba57390619aa8.zip | |
[Tsan] Enable thread sanitizer tests on FreeBSD
Differential Revision: http://reviews.llvm.org/D5995
llvm-svn: 220676
| -rw-r--r-- | compiler-rt/cmake/config-ix.cmake | 2 | ||||
| -rw-r--r-- | compiler-rt/test/tsan/lit.cfg | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/cmake/config-ix.cmake b/compiler-rt/cmake/config-ix.cmake index 6690dd91796..0b722c36670 100644 --- a/compiler-rt/cmake/config-ix.cmake +++ b/compiler-rt/cmake/config-ix.cmake @@ -241,7 +241,7 @@ else() endif() if (COMPILER_RT_HAS_SANITIZER_COMMON AND TSAN_SUPPORTED_ARCH AND - OS_NAME MATCHES "Linux") + OS_NAME MATCHES "Linux|FreeBSD") set(COMPILER_RT_HAS_TSAN TRUE) else() set(COMPILER_RT_HAS_TSAN FALSE) diff --git a/compiler-rt/test/tsan/lit.cfg b/compiler-rt/test/tsan/lit.cfg index d8b4fe9ff4a..d27500f8e3e 100644 --- a/compiler-rt/test/tsan/lit.cfg +++ b/compiler-rt/test/tsan/lit.cfg @@ -60,6 +60,6 @@ config.substitutions.append( ("%deflake ", os.path.join(os.path.dirname(__file__ # Default test suffixes. config.suffixes = ['.c', '.cc', '.cpp'] -# ThreadSanitizer tests are currently supported on Linux only. -if config.host_os not in ['Linux']: +# ThreadSanitizer tests are currently supported on FreeBSD and Linux only. +if config.host_os not in ['FreeBSD', 'Linux']: config.unsupported = True |

