diff options
author | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-01-26 16:43:55 -0800 |
---|---|---|
committer | Nicolas Noble <nicolasnoble@users.noreply.github.com> | 2016-01-26 16:43:55 -0800 |
commit | 6a25656fece0f644239cf79a80348455a1a7c754 (patch) | |
tree | eb99d5173d7fd363053789b92a0c9db22ddce2c3 /tools/run_tests/run_tests.py | |
parent | bee33b0f5243defae6d445b06ccbd4646383d0b4 (diff) | |
parent | 528fd1e75c3946e521ad45bb6f0b71df3738ea16 (diff) |
Merge pull request #4819 from ctiller/less-cpu-sanity
Ensure sanity generate projects doesnt eat all available cpu
Diffstat (limited to 'tools/run_tests/run_tests.py')
-rwxr-xr-x | tools/run_tests/run_tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py index f8b01021c8..6ea274b31d 100755 --- a/tools/run_tests/run_tests.py +++ b/tools/run_tests/run_tests.py @@ -452,7 +452,7 @@ class Sanity(object): def test_specs(self, config, args): import yaml with open('tools/run_tests/sanity_tests.yaml', 'r') as f: - return [config.job_spec([cmd['script']], None, timeout_seconds=None, environ={'TEST': 'true'}, cpu_cost=cmd.get('cpu_cost', 1)) + return [config.job_spec(cmd['script'].split(), None, timeout_seconds=None, environ={'TEST': 'true'}, cpu_cost=cmd.get('cpu_cost', 1)) for cmd in yaml.load(f)] def pre_build_steps(self): |