Only run MLIR PyTACO tests when python bindings are enabled.

Reviewed By: aartbik

Differential Revision: https://reviews.llvm.org/D117930
This commit is contained in:
Bixia Zheng 2022-01-21 14:40:36 -08:00
parent 653b007dc1
commit b796709a62
1 changed files with 5 additions and 0 deletions

View File

@ -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