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
5 lines
162 B
INI
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')
|