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
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()