[debuginfo-tests] ac567ee - [CMake] Add check-debuginfo-* targets
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 26 11:18:30 PDT 2020
Author: Fangrui Song
Date: 2020-06-26T11:18:18-07:00
New Revision: ac567eec119f7d288c6f47921b348aeea7d743cd
URL: https://github.com/llvm/llvm-project/commit/ac567eec119f7d288c6f47921b348aeea7d743cd
DIFF: https://github.com/llvm/llvm-project/commit/ac567eec119f7d288c6f47921b348aeea7d743cd.diff
LOG: [CMake] Add check-debuginfo-* targets
* check-debuginfo-dexter runs lit tests under debuginfo-tests/dexter/
* check-debuginfo-llgdb-tests runs lit tests under debuginfo-tests/llgdb-tests/
* ...
Reviewed By: tbosch
Differential Revision: https://reviews.llvm.org/D82605
Added:
Modified:
debuginfo-tests/CMakeLists.txt
Removed:
################################################################################
diff --git a/debuginfo-tests/CMakeLists.txt b/debuginfo-tests/CMakeLists.txt
index a00e3f6ce628..d3ac0a4aad90 100644
--- a/debuginfo-tests/CMakeLists.txt
+++ b/debuginfo-tests/CMakeLists.txt
@@ -58,4 +58,9 @@ add_lit_testsuite(check-debuginfo "Running debug info integration tests"
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")
More information about the llvm-commits
mailing list