summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2019-05-01 19:34:00 +0000
committerNico Weber <nicolasweber@gmx.de>2019-05-01 19:34:00 +0000
commit1b085d0df0cf720bab2a6192f50ee0f69f458ef7 (patch)
treed6e0cccf04ade78bf61de8b12d7793511f6a415a
parente6996109950703f1ceded58caedd5216e28f3382 (diff)
Make check-clang depend on the clang-check binary always
check-clang (the target that runs all clang tests) used to only depend on clang-check (a binary like clang-tidy, clang-refactor, etc) if the static analyzer is enabled. However, several lit tests call clang-check unconditionally, so always depend on it. Fixes a "could not find clang-check" lit warning in clean builds with the static analyzer disabled. Also sort the deps in the CMake file and put just one dep on each line. Differential Revision: https://reviews.llvm.org/D61324 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359717 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--test/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index 5a1b3eef23..facddbd0a1 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -46,21 +46,23 @@ if(CLANG_TEST_USE_VG)
endif ()
list(APPEND CLANG_TEST_DEPS
- clang clang-resource-headers
+ c-index-test
+ clang
+ clang-resource-headers
+ clang-check
clang-format
- c-index-test diagtool
clang-tblgen
clang-offload-bundler
clang-import-test
clang-rename
clang-refactor
clang-diff
+ diagtool
hmaptool
)
if(CLANG_ENABLE_STATIC_ANALYZER)
list(APPEND CLANG_TEST_DEPS
- clang-check
clang-extdef-mapping
)
endif()