Files
clang-p2996/mlir/test/python/lit.local.cfg
Mehdi Amini bce0c6429e Fix ASAN execution for the MLIR Python tests
First the leak sanitizer has to be disabled, as even an empty script
leads to leak detection with Python.
Then we need to preload the ASAN runtime, as the main binary (python)
won't be linked against it. This will only work on Linux right now.

Differential Revision: https://reviews.llvm.org/D111004
2021-10-03 05:07:32 +00:00

5 lines
162 B
INI

config.environment['ASAN_OPTIONS'] = 'detect_leaks=0'
if not config.enable_bindings_python:
config.unsupported = True
config.excludes.add('python_test_ops.td')