]> granicus.if.org Git - clang/commitdiff
[CMake] Connect check-compiler-rt to check-all
authorChris Bieneman <beanz@apple.com>
Tue, 28 Jun 2016 18:32:22 +0000 (18:32 +0000)
committerChris Bieneman <beanz@apple.com>
Tue, 28 Jun 2016 18:32:22 +0000 (18:32 +0000)
When using the LLVM_BUILD_EXTERNAL_COMPILER_RT option with
LLVM_ENABLE_TESTS we should also bind check-compiler-rt to check-all so
that the compiler-rt tests run too.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@274045 91177308-0d34-0410-b5e6-96231b3b80d8

runtime/CMakeLists.txt

index 1c745ee2236f20295e6eeee4b2c4871258afaaee..2f8056efcd5ffcefaa510a61349c39b231a61d4e 100644 (file)
@@ -141,6 +141,7 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
       COMMAND ${run_check_compiler_rt}
       DEPENDS compiler-rt-build ${COMPILER_RT_TEST_DEPENDENCIES}
       WORKING_DIRECTORY ${BINARY_DIR}
-      VERBATIM)
+      VERBATIM USES_TERMINAL)
+    set_property(GLOBAL APPEND PROPERTY LLVM_LIT_DEPENDS check-compiler-rt)
   endif()
 endif()