[PATCH] D42587: Add make targets for LLD test directories
Nicholas Wilson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 26 10:21:54 PST 2018
ncw created this revision.
ncw added a reviewer: ruiu.
Herald added subscribers: llvm-commits, hintonda, sunfish, aheejin, mgorny.
Add ability to run "ninja check-lld-wasm" to run specific tests, allowing faster turnaround while developing
---
I don't have commit access - assuming this change is OK, could someone commit it for me? Thanks.
Repository:
rLLD LLVM Linker
https://reviews.llvm.org/D42587
Files:
test/CMakeLists.txt
Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -53,6 +53,12 @@
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42587.131615.patch
Type: text/x-patch
Size: 534 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180126/cd2dc2d5/attachment.bin>
More information about the llvm-commits
mailing list