diff options
author | vadimsh <vadimsh@chromium.org> | 2014-10-20 03:22:38 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-20 10:22:54 +0000 |
commit | 5cf3c44e326fc9510ab117730f23fed380b6eec8 (patch) | |
tree | e111195bc85b888556138fdbf2563e8b13664307 /testing | |
parent | 427474f38797153ac552d9f5c768c91452f18ec2 (diff) | |
download | chromium_src-5cf3c44e326fc9510ab117730f23fed380b6eec8.zip chromium_src-5cf3c44e326fc9510ab117730f23fed380b6eec8.tar.gz chromium_src-5cf3c44e326fc9510ab117730f23fed380b6eec8.tar.bz2 |
Set LLVM_SYMBOLIZER_PATH in test_env.py.
Hopefully it would fix mysterious crashes of browser_tests under ASAN
on Swarming mac. runtest.py (that is NOT used by Swarming) does set
LLVM_SYMBOLIZER_PATH already. Looks like this bit of logic wasn't copy-pasted
into test_env.py.
BUG=424280
R=earthdok@chromium.org,glider@chromium.org
Review URL: https://codereview.chromium.org/665873002
Cr-Commit-Position: refs/heads/master@{#300244}
Diffstat (limited to 'testing')
-rwxr-xr-x | testing/test_env.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/test_env.py b/testing/test_env.py index 574aaed..1a41790 100755 --- a/testing/test_env.py +++ b/testing/test_env.py @@ -114,6 +114,8 @@ def get_asan_env(cmd, lsan): # Important note: when running ASan with leak detection enabled, we must use # the LSan symbolization options above. symbolization_options = ['symbolize=0'] + # Set the path to llvm-symbolizer to be used by asan_symbolize.py + extra_env['LLVM_SYMBOLIZER_PATH'] = symbolizer_path asan_options.extend(symbolization_options) |