[PATCH] D82605: [CMake] Add check-debuginfo-* targets

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 25 15:18:12 PDT 2020


MaskRay created this revision.
MaskRay added reviewers: debug-info, TWeaver, jmorse, probinson, tbosch.
Herald added subscribers: llvm-commits, mgorny.
Herald added a project: LLVM.

- check-debuginfo-dexter runs lit tests under debuginfo-tests/dexter/
- check-debuginfo-llgdb-tests runs lit tests under debuginfo-tests/llgdb-tests/
- ...


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D82605

Files:
  debuginfo-tests/CMakeLists.txt


Index: debuginfo-tests/CMakeLists.txt
===================================================================
--- debuginfo-tests/CMakeLists.txt
+++ debuginfo-tests/CMakeLists.txt
@@ -42,4 +42,9 @@
   DEPENDS ${DEBUGINFO_TEST_DEPS}
   )
 
+# Add check-debuginfo-* targets.
+add_lit_testsuites(DEBUGINFO ${CMAKE_CURRENT_SOURCE_DIR}
+  DEPENDS ${DEBUGINFO_TEST_DEPS}
+  )
+
 set_target_properties(check-debuginfo PROPERTIES FOLDER "Debug info tests")


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82605.273527.patch
Type: text/x-patch
Size: 445 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200625/ebaa6485/attachment-0001.bin>


More information about the llvm-commits mailing list