[PATCH] D96513: [cross-project-tests] Add/update check-* targets for cross-project-tests - part 5
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu May 6 06:23:30 PDT 2021
jhenderson updated this revision to Diff 343387.
jhenderson edited the summary of this revision.
jhenderson added a comment.
Rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96513/new/
https://reviews.llvm.org/D96513
Files:
cross-project-tests/CMakeLists.txt
Index: cross-project-tests/CMakeLists.txt
===================================================================
--- cross-project-tests/CMakeLists.txt
+++ cross-project-tests/CMakeLists.txt
@@ -66,14 +66,22 @@
${CMAKE_CURRENT_SOURCE_DIR}/lit.cfg.py
)
-add_lit_testsuite(check-debuginfo "Running cross-project tests"
+add_lit_testsuite(check-cross-project "Running cross-project tests"
${CMAKE_CURRENT_BINARY_DIR}
DEPENDS ${CROSS_PROJECT_TEST_DEPS}
)
-# Add check-debuginfo-* targets.
+# Add alias for debuginfo test subset.
+add_lit_testsuite(check-debuginfo "Running debuginfo tests"
+ ${CMAKE_CURRENT_BINARY_DIR}/debuginfo-tests
+ EXCLUDE_FROM_CHECK_ALL
+ DEPENDS ${CROSS_PROJECT_TEST_DEPS}
+ )
+
+# Add check-cross-project-* targets.
add_lit_testsuites(CROSS_PROJECT ${CMAKE_CURRENT_SOURCE_DIR}
DEPENDS ${CROSS_PROJECT_TEST_DEPS}
)
+set_target_properties(check-cross-project PROPERTIES FOLDER "Tests")
set_target_properties(check-debuginfo PROPERTIES FOLDER "Tests")
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96513.343387.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210506/f08c7d52/attachment.bin>
More information about the llvm-commits
mailing list