Author: Whisperity Date: 2020-09-25T13:32:56+02:00 New Revision: 9d2ef5e74eea2247657431f44152f1f83ed99b84
URL: https://github.com/llvm/llvm-project/commit/9d2ef5e74eea2247657431f44152f1f83ed99b84 DIFF: https://github.com/llvm/llvm-project/commit/9d2ef5e74eea2247657431f44152f1f83ed99b84.diff LOG: [CMake][CTE] Add "check-clang-extra-..." targets to test only a particular Clang extra tool Create targets `check-clang-extra-clang-tidy`, `check-clang-extra-clang-query` similar to how `check-clang-sema`, `check-clang-parser`, etc. are auto-generated from the directory structure. This allows running only a particular sub-tool's tests, not having to wait through the entire `check-clang-tools` execution. Differential Revision: http://reviews.llvm.org/D84176 Added: Modified: clang-tools-extra/test/CMakeLists.txt Removed: ################################################################################ diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt index 15b756f0a320..662b138e9f46 100644 --- a/clang-tools-extra/test/CMakeLists.txt +++ b/clang-tools-extra/test/CMakeLists.txt @@ -90,3 +90,7 @@ add_lit_testsuite(check-clang-tools "Running the Clang extra tools' regression t ) set_target_properties(check-clang-tools PROPERTIES FOLDER "Clang extra tools' tests") + +add_lit_testsuites(CLANG-EXTRA ${CMAKE_CURRENT_SOURCE_DIR} + DEPENDS ${CLANG_TOOLS_TEST_DEPS} + ) _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits