forked from OSchip/llvm-project
[clangd] Make bin/llvm-lit run standalone clangd tests
Summary: Currently clangd lit tests can't be run in isolation because we don't set some of the config parameters. This enables running ./bin/llvm-lit ../clang-tools-extra/clangd/test/ or any other test in that subdirectory. Reviewers: sammccall Subscribers: mgorny, ilya-biryukov, MaskRay, jkorous, arphaman, usaxena95, cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D73538
This commit is contained in:
parent
0d17410e91
commit
cb74d2e1bd
|
@ -29,7 +29,10 @@ endforeach()
|
|||
|
||||
configure_lit_site_cfg(
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.py.in
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py)
|
||||
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg.py
|
||||
MAIN_CONFIG
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
|
||||
)
|
||||
|
||||
add_lit_testsuite(check-clangd "Running the Clangd regression tests"
|
||||
${CMAKE_CURRENT_BINARY_DIR}/../unittests;${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
|
Loading…
Reference in New Issue