forked from OSchip/llvm-project
[asan] Remove dependency of tests on runtime library in standalone build.
llvm-svn: 210465
This commit is contained in:
parent
82ae94f704
commit
b22b963669
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in New Issue