[compiler-rt] r210465 - [asan] Remove dependency of tests on runtime library in standalone build.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Mon Jun 9 04:17:37 PDT 2014


Author: eugenis
Date: Mon Jun  9 06:17:37 2014
New Revision: 210465

URL: http://llvm.org/viewvc/llvm-project?rev=210465&view=rev
Log:
[asan] Remove dependency of tests on runtime library in standalone build.

Modified:
    compiler-rt/trunk/test/asan/CMakeLists.txt

Modified: compiler-rt/trunk/test/asan/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=210465&r1=210464&r2=210465&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/CMakeLists.txt (original)
+++ compiler-rt/trunk/test/asan/CMakeLists.txt Mon Jun  9 06:17:37 2014
@@ -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()
 





More information about the llvm-commits mailing list