[clang-tools-extra] 1eb9748 - Fix check-clang-tools target after 7cc8377f2c572a919ecb

Sam McCall via cfe-commits cfe-commits at lists.llvm.org
Fri May 6 14:08:55 PDT 2022


Author: Sam McCall
Date: 2022-05-06T23:08:47+02:00
New Revision: 1eb97481ef8b7c8923b29d80b8b018015dd3e27c

URL: https://github.com/llvm/llvm-project/commit/1eb97481ef8b7c8923b29d80b8b018015dd3e27c
DIFF: https://github.com/llvm/llvm-project/commit/1eb97481ef8b7c8923b29d80b8b018015dd3e27c.diff

LOG: Fix check-clang-tools target after 7cc8377f2c572a919ecb

This change was intended to add the tests check-clang and check-clang-pseudo,
but afterwards it was *only* running those tests.
(This was because unlike add_lit_testsuite, add_lit_testsuite*s* does not
get included in umbrella suites).

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 8bce4da23d41..f4c529ee8af2 100644
--- a/clang-tools-extra/test/CMakeLists.txt
+++ b/clang-tools-extra/test/CMakeLists.txt
@@ -96,6 +96,12 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
   endif()
 endif()
 
+add_lit_testsuite(check-clang-extra "Running clang-tools-extra/test"
+   ${CMAKE_CURRENT_BINARY_DIR}
+   DEPENDS ${CLANG_TOOLS_TEST_DEPS}
+   )
+set_target_properties(check-clang-extra PROPERTIES FOLDER "Clang extra tools' tests")
+
 add_lit_testsuites(CLANG-EXTRA ${CMAKE_CURRENT_SOURCE_DIR}
   DEPENDS ${CLANG_TOOLS_TEST_DEPS}
   )


        


More information about the cfe-commits mailing list