[clang-tools-extra] r343526 - [clangd] exclude check-clangd from check-all, fix buildbot failure.
Haojian Wu via cfe-commits
cfe-commits at lists.llvm.org
Mon Oct 1 13:21:41 PDT 2018
Author: hokein
Date: Mon Oct 1 13:21:41 2018
New Revision: 343526
URL: http://llvm.org/viewvc/llvm-project?rev=343526&view=rev
Log:
[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.
Modified:
clang-tools-extra/trunk/test/CMakeLists.txt
Modified: clang-tools-extra/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/CMakeLists.txt?rev=343526&r1=343525&r2=343526&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/test/CMakeLists.txt Mon Oct 1 13:21:41 2018
@@ -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)
More information about the cfe-commits
mailing list