diff options
author | dpranke <dpranke@chromium.org> | 2016-02-11 16:07:31 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-12 00:09:25 +0000 |
commit | bf38b83f7f8b2c74b6cba6060a375b2aab5c0ea6 (patch) | |
tree | 44c19b9851a3e91fc24986b8e60d93236b0ac3e8 /testing/scripts | |
parent | a8c06daf3bcd90e84bb963dbeffbf0ad5ed4790d (diff) | |
download | chromium_src-bf38b83f7f8b2c74b6cba6060a375b2aab5c0ea6.zip chromium_src-bf38b83f7f8b2c74b6cba6060a375b2aab5c0ea6.tar.gz chromium_src-bf38b83f7f8b2c74b6cba6060a375b2aab5c0ea6.tar.bz2 |
Rework the way args are passed to run_under_valgrind.py slightly.
This is a preparatory CL reworking the way we pass arguments
to the run_under_valgrind.py script on the bots, to make things
a little more transparent.
This CL should have no effect on the bots, but makes the follow-on
CL to enable sharding of the unit_tests a little smaller and easier
to review.
R=bruening@chromium.org
BUG=572694
Review URL: https://codereview.chromium.org/1691863003
Cr-Commit-Position: refs/heads/master@{#375051}
Diffstat (limited to 'testing/scripts')
-rwxr-xr-x | testing/scripts/run_under_valgrind.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/testing/scripts/run_under_valgrind.py b/testing/scripts/run_under_valgrind.py index 0b28910..d13ecd2 100755 --- a/testing/scripts/run_under_valgrind.py +++ b/testing/scripts/run_under_valgrind.py @@ -14,14 +14,10 @@ import common def main_run(args): rc = common.run_command([ os.path.join(common.SRC_DIR, 'tools', 'valgrind', 'chrome_tests.sh'), - '--test', - args.args[0], - '--tool', - 'memcheck', + '--tool', 'memcheck', '--target', args.build_config_fs, - '--build-dir', - 'src/out', - ]) + '--build-dir', 'src/out', + ] + args.args) json.dump({ 'valid': True, |