[Mlir-commits] [mlir] 6944f7d - [mlir][linalg][python] Introduce python integration test folder.

Tobias Gysi llvmlistbot at llvm.org
Fri Jul 2 00:42:26 PDT 2021


Author: Tobias Gysi
Date: 2021-07-02T07:20:34Z
New Revision: 6944f7da25517cc554bf7fd11205082e2c976a97

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

LOG: [mlir][linalg][python] Introduce python integration test folder.

Introduce an integration test folder in the test/python subfolder and move the opsrun.py test into the newly created folder. The test verifies named operations end-to-end using both the yaml and the python path.

Differential Revision: https://reviews.llvm.org/D105276

Added: 
    mlir/test/python/integration/dialects/linalg/opsrun.py
    mlir/test/python/integration/lit.local.cfg

Modified: 
    

Removed: 
    mlir/test/python/dialects/linalg/opsrun.py


################################################################################
diff  --git a/mlir/test/python/dialects/linalg/opsrun.py b/mlir/test/python/integration/dialects/linalg/opsrun.py
similarity index 100%
rename from mlir/test/python/dialects/linalg/opsrun.py
rename to mlir/test/python/integration/dialects/linalg/opsrun.py

diff  --git a/mlir/test/python/integration/lit.local.cfg b/mlir/test/python/integration/lit.local.cfg
new file mode 100644
index 0000000000000..f428e2534065c
--- /dev/null
+++ b/mlir/test/python/integration/lit.local.cfg
@@ -0,0 +1,2 @@
+if config.mlir_include_integration_tests != 'ON':
+    config.unsupported = True


        


More information about the Mlir-commits mailing list