[Mlir-commits] [mlir] b796709 - Only run MLIR PyTACO tests when python bindings are enabled.
Bixia Zheng
llvmlistbot at llvm.org
Fri Jan 21 15:05:34 PST 2022
Author: Bixia Zheng
Date: 2022-01-21T15:05:29-08:00
New Revision: b796709a62da2a09ab753236deb3c9f2fc14cf47
URL: https://github.com/llvm/llvm-project/commit/b796709a62da2a09ab753236deb3c9f2fc14cf47
DIFF: https://github.com/llvm/llvm-project/commit/b796709a62da2a09ab753236deb3c9f2fc14cf47.diff
LOG: Only run MLIR PyTACO tests when python bindings are enabled.
Reviewed By: aartbik
Differential Revision: https://reviews.llvm.org/D117930
Added:
mlir/test/Integration/Dialect/SparseTensor/taco/lit.local.cfg
Modified:
Removed:
################################################################################
diff --git a/mlir/test/Integration/Dialect/SparseTensor/taco/lit.local.cfg b/mlir/test/Integration/Dialect/SparseTensor/taco/lit.local.cfg
new file mode 100644
index 0000000000000..cf04454dea6ef
--- /dev/null
+++ b/mlir/test/Integration/Dialect/SparseTensor/taco/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
More information about the Mlir-commits
mailing list