mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-25 17:31:02 +00:00
[mlir] [integration-test] Let target check-mlir imply target check-mlir-integration too
Note that this does not mean that check-mlir will run check-mlir-integration tests for all configurations. You still need to do a set up with the flag MLIR_INCLUDE_INTEGRATION_TESTS set to ON in order to activate the integration test. Reviewed By: jpienaar Differential Revision: https://reviews.llvm.org/D82413
This commit is contained in:
parent
4935419d77
commit
ba690195d1
@ -21,6 +21,10 @@ add_lit_testsuite(check-mlir-integration "Running the MLIR integration tests"
|
||||
)
|
||||
set_target_properties(check-mlir-integration PROPERTIES FOLDER "integration_test")
|
||||
|
||||
# Let target "check-mlir" imply the target "check-mlir-integration" as well,
|
||||
# provided that MLIR_INCLUDE_INTEGRATION_TESTS=ON during the initial setup.
|
||||
add_dependencies(check-mlir check-mlir-integration)
|
||||
|
||||
add_lit_testsuites(MLIR_INTEGRATION ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
DEPENDS ${MLIR_INTEGRATION_TEST_DEPENDS}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user