diff options
author | Haojian Wu <hokein@google.com> | 2018-10-01 20:21:41 +0000 |
---|---|---|
committer | Haojian Wu <hokein@google.com> | 2018-10-01 20:21:41 +0000 |
commit | 97e84e768f1d7bbc7aae1b4b1ab1a793ee8edacc (patch) | |
tree | 4550fb1d55fe6662383d22fee4399b1907c28769 /clang-tools-extra | |
parent | 6e91f2afe82e2d75001a4c92266135a838c7e4f4 (diff) |
[clangd] exclude check-clangd from check-all, fix buildbot failure.
check-clangd is included via check-clang-tools, otherwise we will run two
instances of check-clangd in parallel when running 'check-all',
which may have race condition.
Diffstat (limited to 'clang-tools-extra')
-rw-r--r-- | clang-tools-extra/test/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/clang-tools-extra/test/CMakeLists.txt b/clang-tools-extra/test/CMakeLists.txt index 13d90945837..a1bda509089 100644 --- a/clang-tools-extra/test/CMakeLists.txt +++ b/clang-tools-extra/test/CMakeLists.txt @@ -86,8 +86,11 @@ set(CLANGD_TEST_DEPS clangd-indexer dexp ) +# Exclude check-clangd from check-all, as check-clangd will launch via check-clang-tools. +set(EXCLUDE_FROM_ALL ON) add_lit_testsuite(check-clangd "Running the Clangd regression tests" ${CMAKE_CURRENT_BINARY_DIR}/Unit/clangd;${CMAKE_CURRENT_BINARY_DIR}/clangd DEPENDS ${CLANGD_TEST_DEPS} ) set_target_properties(check-clangd PROPERTIES FOLDER "Clangd tests") +set(EXCLUDE_FROM_ALL OFF) |