Keeping the default value ON to preserve the current behavior Motivation: 1. Some of the clangd (TUSchedulerTests) tests intermittently fails. There are no internal changes to clang-tools-extra directory. Either the test times out or it fails with mismatches. 2. It also makes sense to be able to disable clangd tests separately from the rest of clang-tools because clangd has it's own unittests directory.
Issue created: https://github.com/llvm/llvm-project/issues/64964
Previously reported issues: https://github.com/llvm/llvm-project/issues/59644, https://github.com/llvm/llvm-project/issues/50117, https://github.com/clangd/clangd/issues/1712
A typical output of ninja check-clang-tools
out/llvm-project/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp:1354: Failure Value of: S.blockUntilIdle(timeoutSeconds(10)) Actual: false Expected: true Built preamble of size 207320 for file /clangd-test/foo.cpp version 3 in 5.44 seconds Reusing preamble version 3 for version 4 of /clangd-test/foo.cpp out/llvm-project/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp:1318: Failure Value of: Collector.diagVersions().back() Expected: has a first field that is equal to "3", and has a second field that is equal to "3" Actual: ("3", "4"), whose second field does not match out/llvm-project/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp:1311 Value of: Collector.diagVersions().back() Expected: has a first field that is equal to "3", and has a second field that is equal to "3" Actual: ("2", "3"), whose first field does not match out/llvm-project/clang-tools-extra/clangd/unittests/TUSchedulerTests.cpp:1318 Value of: Collector.diagVersions().back() Expected: has a first field that is equal to "3", and has a second field that is equal to "3" Actual: ("3", "4"), whose second field does not match