aboutsummaryrefslogtreecommitdiffstats
path: root/build/scripts/run_tool.py
blob: 00e3ff6f1ea7b5465317c6c789611d7d280b5b29 (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)