diff options
| author | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-06-09 11:17:37 +0000 |
|---|---|---|
| committer | Evgeniy Stepanov <eugeni.stepanov@gmail.com> | 2014-06-09 11:17:37 +0000 |
| commit | b22b96366965db910547d803abb9d4946fe76b4a (patch) | |
| tree | d49186ae6725203bf51e685347423c3835aa4114 | |
| parent | 82ae94f7043dd10b86c11a125dd1c654a11d2762 (diff) | |
| download | bcm5719-llvm-b22b96366965db910547d803abb9d4946fe76b4a.tar.gz bcm5719-llvm-b22b96366965db910547d803abb9d4946fe76b4a.zip | |
[asan] Remove dependency of tests on runtime library in standalone build.
llvm-svn: 210465
| -rw-r--r-- | compiler-rt/test/asan/CMakeLists.txt | 6 |
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() |

