Exclude MLIR python binding tests from Sanitizer tests for now
authorMehdi Amini <joker.eph@gmail.com>
Sun, 3 Oct 2021 01:25:10 +0000 (01:25 +0000)
committerMehdi Amini <joker.eph@gmail.com>
Sun, 3 Oct 2021 05:07:01 +0000 (05:07 +0000)
This requires more config to work reliably during lit execution.
But also I see many leaks when running manually right now.

mlir/test/python/lit.local.cfg

index 2e28a4c..fc4c987 100644 (file)
@@ -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')