test/CMakeLists.txt: Implement the target "check-all". For now, it has no dependencies.

llvm-svn: 120280
This commit is contained in:
NAKAMURA Takumi 2010-11-29 01:18:56 +00:00
parent 232e52cfb7
commit c66906a6cb
1 changed files with 10 additions and 0 deletions

View File

@ -77,4 +77,14 @@ if(PYTHONINTERP_FOUND)
${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()