[Mlir-commits] [mlir] 286248d - [mlir][sparse] Moving integration tests that merely use the Python API
wren romano
llvmlistbot at llvm.org
Tue Nov 23 10:59:46 PST 2021
Author: wren romano
Date: 2021-11-23T10:59:38-08:00
New Revision: 286248db2c320e4b4f30dbddbeba3db993ca6e5d
URL: https://github.com/llvm/llvm-project/commit/286248db2c320e4b4f30dbddbeba3db993ca6e5d
DIFF: https://github.com/llvm/llvm-project/commit/286248db2c320e4b4f30dbddbeba3db993ca6e5d.diff
LOG: [mlir][sparse] Moving integration tests that merely use the Python API
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D114192
Added:
mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
mlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
Modified:
Removed:
mlir/test/python/dialects/sparse_tensor/test_SpMM.py
################################################################################
diff --git a/mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg b/mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
new file mode 100644
index 0000000000000..cf04454dea6ef
--- /dev/null
+++ b/mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg
@@ -0,0 +1,5 @@
+# Disable ASAN's leak detection for python OpsDSL tests.
+config.environment['ASAN_OPTIONS'] = 'detect_leaks=0'
+# Only run when python bindings are enabled.
+if not config.enable_bindings_python:
+ config.unsupported = True
diff --git a/mlir/test/python/dialects/sparse_tensor/test_SpMM.py b/mlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
similarity index 100%
rename from mlir/test/python/dialects/sparse_tensor/test_SpMM.py
rename to mlir/test/Integration/Dialect/SparseTensor/python/test_SpMM.py
More information about the Mlir-commits
mailing list