[cfe-commits] r121458 - /cfe/trunk/test/CMakeLists.txt
NAKAMURA Takumi
geek4civic at gmail.com
Thu Dec 9 18:58:03 PST 2010
Author: chapuni
Date: Thu Dec 9 20:58:03 2010
New Revision: 121458
URL: http://llvm.org/viewvc/llvm-project?rev=121458&view=rev
Log:
Add dependency to "make clang-test check-all".
Modified:
cfe/trunk/test/CMakeLists.txt
Modified: cfe/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CMakeLists.txt?rev=121458&r1=121457&r2=121458&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Thu Dec 9 20:58:03 2010
@@ -66,7 +66,6 @@
--param build_config=${CMAKE_CFG_INTDIR}
${LIT_ARGS}
${CMAKE_CURRENT_BINARY_DIR}
- DEPENDS clang c-index-test FileCheck not count
COMMENT "Running Clang regression tests")
add_custom_target(clang-c++tests
@@ -88,4 +87,15 @@
${LLVM_BINARY_DIR}/test
${CMAKE_CURRENT_BINARY_DIR}
COMMENT "Running Clang and LLVM regression tests")
+
+ add_custom_target(clang-test.deps)
+
+ add_dependencies(clang-test clang-test.deps)
+ add_dependencies(clang-test.deps
+ clang clang-headers c-index-test
+ llvm-dis opt
+ FileCheck count not)
+
+ add_dependencies(check-all check.deps clang-test.deps)
+
endif()
More information about the cfe-commits
mailing list