diff options
author | Nico Weber <thakis@chromium.org> | 2015-01-27 22:16:25 -0800 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2015-01-28 06:18:07 +0000 |
commit | bfeb3d3af47c2f4f0a7f8e1b39d516e31bbb9df7 (patch) | |
tree | 41673f512e3c42fefe47fa30ac6044a542f581f0 /testing/test_env.py | |
parent | aaf2040d5a84a227185b169cc822876f3a051feb (diff) | |
download | chromium_src-bfeb3d3af47c2f4f0a7f8e1b39d516e31bbb9df7.zip chromium_src-bfeb3d3af47c2f4f0a7f8e1b39d516e31bbb9df7.tar.gz chromium_src-bfeb3d3af47c2f4f0a7f8e1b39d516e31bbb9df7.tar.bz2 |
test_env.py: Disable sandbox on clang/win for now.
Swarming uses the command baked into the isolate (via test_env.py) for running
test instead of using the runtest.py script. Hence, test_env.py needs to
learn everything runtest.py already knows -- for example, that tests can't
run with the sandbox in asan/win yet.
BUG=451741,382867
TBR=scottmg@chromium.org
Review URL: https://codereview.chromium.org/882913004
Cr-Commit-Position: refs/heads/master@{#313452}
Diffstat (limited to 'testing/test_env.py')
-rwxr-xr-x | testing/test_env.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testing/test_env.py b/testing/test_env.py index 3ff56dc..5f94326 100755 --- a/testing/test_env.py +++ b/testing/test_env.py @@ -126,6 +126,9 @@ def run_executable(cmd, env): if asan: extra_env.update(get_asan_env(cmd, lsan)) + # ASan is not yet sandbox-friendly on Windows (http://crbug.com/382867). + if sys.platform == 'win32': + cmd.append('--no-sandbox') if lsan: cmd.append('--no-sandbox') |