aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/run_tool.py
blob: d9e5706300a624975fcc4aa10eefca3072f1ed82 (plain) (blame)
1
2
3
4
5
6
7
8
9
import sys
import subprocess
import os


if __name__ == '__main__':
    env = os.environ.copy()
    env['ASAN_OPTIONS'] = 'detect_leaks=0'
    subprocess.check_call(sys.argv[sys.argv.index('--') + 1 :], env=env)