[lld] r325124 - Add make targets for running all lld tests
Nicholas Wilson via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 05:28:53 PST 2018
Author: ncw
Date: Wed Feb 14 05:28:53 2018
New Revision: 325124
URL: http://llvm.org/viewvc/llvm-project?rev=325124&view=rev
Log:
Add make targets for running all lld tests
Differential Revision: https://reviews.llvm.org/D42587
Modified:
lld/trunk/test/CMakeLists.txt
Modified: lld/trunk/test/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/CMakeLists.txt?rev=325124&r1=325123&r2=325124&view=diff
==============================================================================
--- lld/trunk/test/CMakeLists.txt (original)
+++ lld/trunk/test/CMakeLists.txt Wed Feb 14 05:28:53 2018
@@ -53,6 +53,12 @@ add_lit_testsuite(check-lld "Running lld
DEPENDS ${LLD_TEST_DEPS}
)
+add_lit_testsuites(LLD ${CMAKE_CURRENT_SOURCE_DIR}
+ PARAMS lld_site_config=${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
+ lld_unit_site_config=${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg
+ DEPENDS ${LLD_TEST_DEPS}
+ )
+
set_target_properties(check-lld PROPERTIES FOLDER "lld tests")
# Add a legacy target spelling: lld-test
More information about the llvm-commits
mailing list