mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-23 05:40:09 +00:00
[cross-project-tests] Add/update check-* targets for cross-project-tests
This change modifies the existing check-debuginfo target to only run the debuginfo tests within the cross-project-tests, and adds a new target (check-cross-project) which runs all the tests. The former has also been modified to not be included in check-all (since the check-cross-project target covers them). Differential Revision: https://reviews.llvm.org/D96513 Reviewed by: aprantl
This commit is contained in:
parent
3827600ff3
commit
2b9ac789ec
@ -66,14 +66,22 @@ configure_lit_site_cfg(
|
||||
${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")
|
||||
|
Loading…
Reference in New Issue
Block a user