From 286248db2c320e4b4f30dbddbeba3db993ca6e5d Mon Sep 17 00:00:00 2001 From: wren romano <2998727+wrengr@users.noreply.github.com> Date: Thu, 18 Nov 2021 13:06:25 -0800 Subject: [PATCH] [mlir][sparse] Moving integration tests that merely use the Python API Reviewed By: aartbik Differential Revision: https://reviews.llvm.org/D114192 --- mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg | 5 +++++ .../Dialect/SparseTensor/python}/test_SpMM.py | 0 2 files changed, 5 insertions(+) create mode 100644 mlir/test/Integration/Dialect/SparseTensor/python/lit.local.cfg rename mlir/test/{python/dialects/sparse_tensor => Integration/Dialect/SparseTensor/python}/test_SpMM.py (100%) 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 0000000..cf04454 --- /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 -- 2.7.4