[Tsan] Enable thread sanitizer tests on FreeBSD
Differential Revision: http://reviews.llvm.org/D5995 llvm-svn: 220676
This commit is contained in:
parent
bff42de11c
commit
c8f3435f0e
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue