diff options
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 847721635..007ac3ff3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,7 +14,7 @@ if(NOT ANDROID) # Use LLVM utils and Clang from the same build tree. list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS clang clang-headers FileCheck count not llvm-nm llvm-symbolizer - compiler-rt-headers) + compiler-rt-headers profile) endif() if(UNIX) list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS SanitizerLintCheck) @@ -24,28 +24,28 @@ endif() # Run sanitizer tests only if we're sure that clang would produce # working binaries. if(COMPILER_RT_CAN_EXECUTE_TESTS) - if(ASAN_SUPPORTED_ARCH OR ANDROID) + if(COMPILER_RT_HAS_ASAN) add_subdirectory(asan) endif() - if(DFSAN_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_DFSAN) add_subdirectory(dfsan) endif() - if(LSAN_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_LSAN) add_subdirectory(lsan) endif() - if(MSAN_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_MSAN) add_subdirectory(msan) endif() - if(PROFILE_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_PROFILE) add_subdirectory(profile) endif() - if(SANITIZER_COMMON_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_SANITIZER_COMMON) add_subdirectory(sanitizer_common) endif() - if(TSAN_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_TSAN) add_subdirectory(tsan) endif() - if(UBSAN_SUPPORTED_ARCH) + if(COMPILER_RT_HAS_UBSAN) add_subdirectory(ubsan) endif() endif() |