diff options
-rw-r--r-- | test/CMakeLists.txt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 4d02d2b3eb..42c63fccf4 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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() |