[Mlir-commits] [mlir] 86f5028 - Exclude MLIR python binding tests from Sanitizer tests for now

Mehdi Amini llvmlistbot at llvm.org
Sat Oct 2 22:07:07 PDT 2021


Author: Mehdi Amini
Date: 2021-10-03T05:07:01Z
New Revision: 86f50288989a87e421e2551d8a00d85e993a53a7

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

LOG: Exclude MLIR python binding tests from Sanitizer tests for now

This requires more config to work reliably during lit execution.
But also I see many leaks when running manually right now.

Added: 
    

Modified: 
    mlir/test/python/lit.local.cfg

Removed: 
    


################################################################################
diff  --git a/mlir/test/python/lit.local.cfg b/mlir/test/python/lit.local.cfg
index 2e28a4c6f59d1..fc4c9877a0e81 100644
--- a/mlir/test/python/lit.local.cfg
+++ b/mlir/test/python/lit.local.cfg
@@ -1,3 +1,8 @@
+# Disable with sanitizers for now, this require some more setup apparently.
+for san in ['asan', 'msan', 'ubsan']:
+   if (san in config.available_features):
+      config.unsupported = True
+
 if not config.enable_bindings_python:
   config.unsupported = True
 config.excludes.add('python_test_ops.td')


        


More information about the Mlir-commits mailing list