summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/asan/CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/CMakeLists.txt b/compiler-rt/test/asan/CMakeLists.txt
index 2454c415e1b..36b3bb2f668 100644
--- a/compiler-rt/test/asan/CMakeLists.txt
+++ b/compiler-rt/test/asan/CMakeLists.txt
@@ -96,8 +96,10 @@ if(COMPILER_RT_INCLUDE_TESTS)
${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)
endif()
-set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} asan)
-if(NOT COMPILER_RT_STANDALONE_BUILD)
+set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})
+if(COMPILER_RT_STANDALONE_BUILD)
+ list(APPEND ASAN_TEST_DEPS ${LLVM_TOOLS_BINARY_DIR}/FileCheck)
+else()
list(APPEND ASAN_TEST_DEPS asan)
endif()
OpenPOWER on IntegriCloud