diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt index 27b8b9c5ef4a..e82fcb0c2eb9 100644 --- a/compiler-rt/test/CMakeLists.txt +++ b/compiler-rt/test/CMakeLists.txt @@ -87,7 +87,7 @@ if(COMPILER_RT_STANDALONE_BUILD) # introduce a rule to run to run all of them. get_property(LLVM_LIT_TESTSUITES GLOBAL PROPERTY LLVM_LIT_TESTSUITES) get_property(LLVM_LIT_DEPENDS GLOBAL PROPERTY LLVM_LIT_DEPENDS) - add_lit_target(check-compiler-rt + add_lit_testsuite(check-compiler-rt "Running all regression tests" ${LLVM_LIT_TESTSUITES} DEPENDS ${LLVM_LIT_DEPENDS}) diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt index 61ef4aea3c7f..0892822b943a 100644 --- a/libcxx/test/CMakeLists.txt +++ b/libcxx/test/CMakeLists.txt @@ -103,7 +103,7 @@ if (LIBCXX_INCLUDE_TESTS) DEPENDS cxx ${LIBCXX_TEST_DEPS} COMMENT "Builds dependencies required to run the test suite.") - add_lit_target(check-cxx + add_lit_testsuite(check-cxx "Running libcxx tests" ${CMAKE_CURRENT_BINARY_DIR} DEPENDS cxx-test-depends diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt index 8dcd65d9b4b4..d85dc412ed74 100644 --- a/libcxxabi/test/CMakeLists.txt +++ b/libcxxabi/test/CMakeLists.txt @@ -76,7 +76,7 @@ configure_lit_site_cfg( ${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg MAIN_CONFIG "${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py") -add_lit_target(check-cxxabi "Running libcxxabi tests" +add_lit_testsuite(check-cxxabi "Running libcxxabi tests" ${CMAKE_CURRENT_BINARY_DIR} DEPENDS ${LIBCXXABI_TEST_DEPS} PARAMS "${LIBCXXABI_TEST_PARAMS}")