[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
Mon Jun 28 03:34:30 PDT 2021


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2b9ac789ecdb: [cross-project-tests] Add/update check-* targets for cross-project-tests (authored by jhenderson).

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.354832.patch
Type: text/x-patch
Size: 1001 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210628/9770d804/attachment.bin>


More information about the llvm-commits mailing list