[clang-tools-extra] r359442 - [clangd] Fix unittests CMake rules
Sam McCall via cfe-commits
cfe-commits at lists.llvm.org
Mon Apr 29 04:47:52 PDT 2019
Author: sammccall
Date: Mon Apr 29 04:47:52 2019
New Revision: 359442
URL: http://llvm.org/viewvc/llvm-project?rev=359442&view=rev
Log:
[clangd] Fix unittests CMake rules
Modified:
clang-tools-extra/trunk/clangd/test/CMakeLists.txt
clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt
Modified: clang-tools-extra/trunk/clangd/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/test/CMakeLists.txt?rev=359442&r1=359441&r2=359442&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/test/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clangd/test/CMakeLists.txt Mon Apr 29 04:47:52 2019
@@ -19,10 +19,7 @@ endforeach()
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.cfg)
-configure_lit_site_cfg(
- ${CMAKE_CURRENT_SOURCE_DIR}/../unittests/lit.cfg.in
- ${CMAKE_CURRENT_BINARY_DIR}/../unittests/lit.cfg)
add_lit_testsuite(check-clangd "Running the Clangd regression tests"
- ${CMAKE_CURRENT_BINARY_DIR}/Unit;${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/../unittests;${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${CLANGD_TEST_DEPS})
Modified: clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt?rev=359442&r1=359441&r2=359442&view=diff
==============================================================================
--- clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt (original)
+++ clang-tools-extra/trunk/clangd/unittests/CMakeLists.txt Mon Apr 29 04:47:52 2019
@@ -90,3 +90,7 @@ target_link_libraries(ClangdTests
if (CLANGD_BUILD_XPC)
add_subdirectory(xpc)
endif ()
+
+configure_lit_site_cfg(
+ ${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.in
+ ${CMAKE_CURRENT_BINARY_DIR}/lit.cfg)
More information about the cfe-commits
mailing list