[cfe-commits] r120280 - /cfe/trunk/test/CMakeLists.txt
NAKAMURA Takumi
geek4civic at gmail.com
Sun Nov 28 17:18:56 PST 2010
Author: chapuni
Date: Sun Nov 28 19:18:56 2010
New Revision: 120280
URL: http://llvm.org/viewvc/llvm-project?rev=120280&view=rev
Log:
test/CMakeLists.txt: Implement the target "check-all". For now, it has no dependencies.
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=120280&r1=120279&r2=120280&view=diff
==============================================================================
--- cfe/trunk/test/CMakeLists.txt (original)
+++ cfe/trunk/test/CMakeLists.txt Sun Nov 28 19:18:56 2010
@@ -77,4 +77,14 @@
${CMAKE_CURRENT_SOURCE_DIR}/../utils/C++Tests
DEPENDS clang c-index-test FileCheck not count
COMMENT "Running Clang regression tests")
+
+ add_custom_target(check-all
+ COMMAND ${PYTHON_EXECUTABLE}
+ ${LLVM_SOURCE_DIR}/utils/lit/lit.py
+ --param build_config=${CMAKE_CFG_INTDIR}
+ --param build_mode=${RUNTIME_BUILD_MODE}
+ ${LIT_ARGS}
+ ${LLVM_BINARY_DIR}/test
+ ${CMAKE_CURRENT_BINARY_DIR}
+ COMMENT "Running Clang and LLVM regression tests")
endif()
More information about the cfe-commits
mailing list