[PATCH] D61187: [clangd] Move clangd tests to clangd directory. check-clangd is no longer part of check-clang-tools.
Sam McCall via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 26 07:27:33 PDT 2019
sammccall created this revision.
sammccall added a reviewer: gribozavr.
Herald added subscribers: cfe-commits, jfb, kadircet, arphaman, jkorous, MaskRay, javed.absar, mgorny.
Herald added a project: clang.
sammccall added a comment.
Herald added a subscriber: ormris.
@ilya-biryukov Can you check this with a shared library build?
Motivation:
- this layout is a pain to work with
- without a common root, it's painful to express things like "disable clangd" (D61122 <https://reviews.llvm.org/D61122>)
- CMake/lit configs are a maintenance hazard, and the more the one-off hacks for various tools are entangled, the more we see apathy and non-ownership.
This attempts to use the bare-minimum configuration needed (while still
supporting the difficult cases: windows, standalone clang build, dynamic libs).
In particular the lit.cfg.py and lit.site.cfg.py.in are merged into lit.cfg.in.
The logic in these files is now minimal.
(Much of clang-tools-extra's lit configs can probably be cleaned up by reusing
lit.llvm.llvm_config.use_clang(), and every llvm project does its own version of
LDPATH mangling. I haven't attempted to fix any of those).
Docs are still in clang-tools-extra/docs, I don't have any plans to touch those.
Repository:
rCTE Clang Tools Extra
https://reviews.llvm.org/D61187
Files:
CMakeLists.txt
clangd/CMakeLists.txt
clangd/test/CMakeLists.txt
clangd/test/Inputs/BenchmarkHeader.h
clangd/test/Inputs/BenchmarkSource.cpp
clangd/test/Inputs/background-index/compile_commands.json
clangd/test/Inputs/background-index/definition.jsonrpc
clangd/test/Inputs/background-index/foo.cpp
clangd/test/Inputs/background-index/foo.h
clangd/test/Inputs/requests.json
clangd/test/Inputs/symbols.test.yaml
clangd/test/Unit/lit.cfg.in
clangd/test/background-index.test
clangd/test/compile-commands-path-in-initialize.test
clangd/test/completion-auto-trigger.test
clangd/test/completion-snippets.test
clangd/test/completion.test
clangd/test/crash-non-added-files.test
clangd/test/delimited-input-comment-at-the-end.test
clangd/test/diagnostic-category.test
clangd/test/diagnostics-notes.test
clangd/test/diagnostics.test
clangd/test/did-change-configuration-params.test
clangd/test/execute-command.test
clangd/test/exit-with-shutdown.test
clangd/test/exit-without-shutdown.test
clangd/test/filestatus.test
clangd/test/fixits-codeaction.test
clangd/test/fixits-command.test
clangd/test/fixits-embed-in-diagnostic.test
clangd/test/formatting.test
clangd/test/hover.test
clangd/test/index-tools.test
clangd/test/initialize-params-invalid.test
clangd/test/initialize-params.test
clangd/test/initialize-sequence.test
clangd/test/input-mirror.test
clangd/test/lit.cfg.in
clangd/test/lit.local.cfg
clangd/test/protocol.test
clangd/test/references.test
clangd/test/rename.test
clangd/test/signature-help.test
clangd/test/spaces-in-delimited-input.test
clangd/test/symbol-info.test
clangd/test/symbols.test
clangd/test/test-uri-posix.test
clangd/test/test-uri-windows.test
clangd/test/textdocument-didchange-fail.test
clangd/test/too_large.test
clangd/test/trace.test
clangd/test/tweaks-format.test
clangd/test/type-hierarchy.test
clangd/test/unsupported-method.test
clangd/test/utf8.test
clangd/test/xpc/initialize.test
clangd/test/xrefs.test
clangd/unittests/Annotations.cpp
clangd/unittests/Annotations.h
clangd/unittests/BackgroundIndexTests.cpp
clangd/unittests/CMakeLists.txt
clangd/unittests/CancellationTests.cpp
clangd/unittests/ClangdTests.cpp
clangd/unittests/ClangdUnitTests.cpp
clangd/unittests/CodeCompleteTests.cpp
clangd/unittests/CodeCompletionStringsTests.cpp
clangd/unittests/ContextTests.cpp
clangd/unittests/DexTests.cpp
clangd/unittests/DiagnosticsTests.cpp
clangd/unittests/DraftStoreTests.cpp
clangd/unittests/ExpectedTypeTest.cpp
clangd/unittests/FSTests.cpp
clangd/unittests/FileDistanceTests.cpp
clangd/unittests/FileIndexTests.cpp
clangd/unittests/FindSymbolsTests.cpp
clangd/unittests/FunctionTests.cpp
clangd/unittests/FuzzyMatchTests.cpp
clangd/unittests/GlobalCompilationDatabaseTests.cpp
clangd/unittests/HeadersTests.cpp
clangd/unittests/IndexActionTests.cpp
clangd/unittests/IndexTests.cpp
clangd/unittests/JSONTransportTests.cpp
clangd/unittests/Matchers.h
clangd/unittests/PrintASTTests.cpp
clangd/unittests/QualityTests.cpp
clangd/unittests/RIFFTests.cpp
clangd/unittests/SelectionTests.cpp
clangd/unittests/SerializationTests.cpp
clangd/unittests/SourceCodeTests.cpp
clangd/unittests/SymbolCollectorTests.cpp
clangd/unittests/SymbolInfoTests.cpp
clangd/unittests/SyncAPI.cpp
clangd/unittests/SyncAPI.h
clangd/unittests/TUSchedulerTests.cpp
clangd/unittests/TestFS.cpp
clangd/unittests/TestFS.h
clangd/unittests/TestIndex.cpp
clangd/unittests/TestIndex.h
clangd/unittests/TestScheme.h
clangd/unittests/TestTU.cpp
clangd/unittests/TestTU.h
clangd/unittests/ThreadingTests.cpp
clangd/unittests/TraceTests.cpp
clangd/unittests/TweakTests.cpp
clangd/unittests/TypeHierarchyTests.cpp
clangd/unittests/URITests.cpp
clangd/unittests/XRefsTests.cpp
clangd/unittests/xpc/CMakeLists.txt
clangd/unittests/xpc/ConversionTests.cpp
test/CMakeLists.txt
test/clangd/Inputs/BenchmarkHeader.h
test/clangd/Inputs/BenchmarkSource.cpp
test/clangd/Inputs/background-index/compile_commands.json
test/clangd/Inputs/background-index/definition.jsonrpc
test/clangd/Inputs/background-index/foo.cpp
test/clangd/Inputs/background-index/foo.h
test/clangd/Inputs/requests.json
test/clangd/Inputs/symbols.test.yaml
test/clangd/Unit/lit.site.cfg.py.in
test/clangd/background-index.test
test/clangd/compile-commands-path-in-initialize.test
test/clangd/completion-auto-trigger.test
test/clangd/completion-snippets.test
test/clangd/completion.test
test/clangd/crash-non-added-files.test
test/clangd/delimited-input-comment-at-the-end.test
test/clangd/diagnostic-category.test
test/clangd/diagnostics-notes.test
test/clangd/diagnostics.test
test/clangd/did-change-configuration-params.test
test/clangd/execute-command.test
test/clangd/exit-with-shutdown.test
test/clangd/exit-without-shutdown.test
test/clangd/filestatus.test
test/clangd/fixits-codeaction.test
test/clangd/fixits-command.test
test/clangd/fixits-embed-in-diagnostic.test
test/clangd/formatting.test
test/clangd/hover.test
test/clangd/index-tools.test
test/clangd/initialize-params-invalid.test
test/clangd/initialize-params.test
test/clangd/initialize-sequence.test
test/clangd/input-mirror.test
test/clangd/lit.local.cfg
test/clangd/protocol.test
test/clangd/references.test
test/clangd/rename.test
test/clangd/signature-help.test
test/clangd/spaces-in-delimited-input.test
test/clangd/symbol-info.test
test/clangd/symbols.test
test/clangd/test-uri-posix.test
test/clangd/test-uri-windows.test
test/clangd/textdocument-didchange-fail.test
test/clangd/too_large.test
test/clangd/trace.test
test/clangd/tweaks-format.test
test/clangd/type-hierarchy.test
test/clangd/unsupported-method.test
test/clangd/utf8.test
test/clangd/xpc/initialize.test
test/clangd/xrefs.test
unittests/CMakeLists.txt
unittests/clangd/Annotations.cpp
unittests/clangd/Annotations.h
unittests/clangd/BackgroundIndexTests.cpp
unittests/clangd/CMakeLists.txt
unittests/clangd/CancellationTests.cpp
unittests/clangd/ClangdTests.cpp
unittests/clangd/ClangdUnitTests.cpp
unittests/clangd/CodeCompleteTests.cpp
unittests/clangd/CodeCompletionStringsTests.cpp
unittests/clangd/ContextTests.cpp
unittests/clangd/DexTests.cpp
unittests/clangd/DiagnosticsTests.cpp
unittests/clangd/DraftStoreTests.cpp
unittests/clangd/ExpectedTypeTest.cpp
unittests/clangd/FSTests.cpp
unittests/clangd/FileDistanceTests.cpp
unittests/clangd/FileIndexTests.cpp
unittests/clangd/FindSymbolsTests.cpp
unittests/clangd/FunctionTests.cpp
unittests/clangd/FuzzyMatchTests.cpp
unittests/clangd/GlobalCompilationDatabaseTests.cpp
unittests/clangd/HeadersTests.cpp
unittests/clangd/IndexActionTests.cpp
unittests/clangd/IndexTests.cpp
unittests/clangd/JSONTransportTests.cpp
unittests/clangd/Matchers.h
unittests/clangd/PrintASTTests.cpp
unittests/clangd/QualityTests.cpp
unittests/clangd/RIFFTests.cpp
unittests/clangd/SelectionTests.cpp
unittests/clangd/SerializationTests.cpp
unittests/clangd/SourceCodeTests.cpp
unittests/clangd/SymbolCollectorTests.cpp
unittests/clangd/SymbolInfoTests.cpp
unittests/clangd/SyncAPI.cpp
unittests/clangd/SyncAPI.h
unittests/clangd/TUSchedulerTests.cpp
unittests/clangd/TestFS.cpp
unittests/clangd/TestFS.h
unittests/clangd/TestIndex.cpp
unittests/clangd/TestIndex.h
unittests/clangd/TestScheme.h
unittests/clangd/TestTU.cpp
unittests/clangd/TestTU.h
unittests/clangd/ThreadingTests.cpp
unittests/clangd/TraceTests.cpp
unittests/clangd/TweakTests.cpp
unittests/clangd/TypeHierarchyTests.cpp
unittests/clangd/URITests.cpp
unittests/clangd/XRefsTests.cpp
unittests/clangd/xpc/CMakeLists.txt
unittests/clangd/xpc/ConversionTests.cpp
More information about the cfe-commits
mailing list