diff --git a/libcxx/test/CMakeLists.txt b/libcxx/test/CMakeLists.txt --- a/libcxx/test/CMakeLists.txt +++ b/libcxx/test/CMakeLists.txt @@ -103,7 +103,7 @@ endif() if (LIBCXX_INCLUDE_TESTS) - include(AddLLVM) # for configure_lit_site_cfg and add_lit_target + include(AddLLVM) # for configure_lit_site_cfg and add_lit_testsuite configure_lit_site_cfg( "${LIBCXX_TEST_CONFIG}" @@ -114,7 +114,7 @@ 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 check-cxx-deps diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt --- a/libcxxabi/test/CMakeLists.txt +++ b/libcxxabi/test/CMakeLists.txt @@ -1,4 +1,4 @@ -include(AddLLVM) # for configure_lit_site_cfg and add_lit_target +include(AddLLVM) # for configure_lit_site_cfg and add_lit_testsuite macro(pythonize_bool var) if (${var}) set(${var} True) @@ -76,7 +76,7 @@ ${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}")