]> granicus.if.org Git - clang/commitdiff
[analyzer] Fix bots by removing new check-clang-analyzer commands from CHECK-ALL
authorGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 14 Aug 2018 18:55:34 +0000 (18:55 +0000)
committerGeorge Karpenkov <ekarpenkov@apple.com>
Tue, 14 Aug 2018 18:55:34 +0000 (18:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@339709 91177308-0d34-0410-b5e6-96231b3b80d8

test/CMakeLists.txt

index 95225d80c5493e7a8ecfb45704294075cf4362de..2836aefada98165fb2e1c10579d9e96418ab0edf 100644 (file)
@@ -134,6 +134,9 @@ add_lit_testsuite(check-clang "Running the Clang regression tests"
 set_target_properties(check-clang PROPERTIES FOLDER "Clang tests")
 
 if (CLANG_ENABLE_STATIC_ANALYZER)
+  # check-all would launch those tests via check-clang.
+  set(EXCLUDE_FROM_ALL ON)
+
   add_lit_testsuite(check-clang-analyzer "Running the Clang analyzer tests"
     ${CMAKE_CURRENT_BINARY_DIR}/Analysis
     PARAMS ${ANALYZER_TEST_PARAMS}
@@ -149,6 +152,7 @@ if (CLANG_ENABLE_STATIC_ANALYZER)
     set_target_properties(check-clang-analyzer-z3 PROPERTIES FOLDER "Clang tests")
   endif()
 
+  set(EXCLUDE_FROM_ALL OFF)
 endif()
 
 add_lit_testsuites(CLANG ${CMAKE_CURRENT_SOURCE_DIR}