[Mlir-commits] [mlir] ba69019 - [mlir] [integration-test] Let target check-mlir imply target check-mlir-integration too

llvmlistbot at llvm.org llvmlistbot at llvm.org
Tue Jun 23 15:22:53 PDT 2020


Author: aartbik
Date: 2020-06-23T15:22:39-07:00
New Revision: ba690195d1c68b135680194b378e357f6d6e3f4a

URL: https://github.com/llvm/llvm-project/commit/ba690195d1c68b135680194b378e357f6d6e3f4a
DIFF: https://github.com/llvm/llvm-project/commit/ba690195d1c68b135680194b378e357f6d6e3f4a.diff

LOG: [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

Added: 
    

Modified: 
    mlir/integration_test/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/mlir/integration_test/CMakeLists.txt b/mlir/integration_test/CMakeLists.txt
index d2a768da1a3e..8201cd79e37f 100644
--- a/mlir/integration_test/CMakeLists.txt
+++ b/mlir/integration_test/CMakeLists.txt
@@ -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}
   )


        


More information about the Mlir-commits mailing list