aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/run_tests
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-20 08:27:37 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-20 08:27:37 -0800
commit56c6b6ab0a84479341dec8e16930b9f85433ce8a (patch)
tree5ab95f38e6bdb5c1dfbbaf21fad71905e5b19918 /templates/tools/run_tests
parenta5a5cab3604ed2aafb71df1019cfdf74d22fb1ba (diff)
Use CPU cost modelling to increase parallelism
Diffstat (limited to 'templates/tools/run_tests')
-rw-r--r--templates/tools/run_tests/tests.json.template3
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/tools/run_tests/tests.json.template b/templates/tools/run_tests/tests.json.template
index 3a3ac1e0f3..9a84783467 100644
--- a/templates/tools/run_tests/tests.json.template
+++ b/templates/tools/run_tests/tests.json.template
@@ -10,7 +10,8 @@
"ci_platforms": tgt.ci_platforms,
"exclude_configs": tgt.get("exclude_configs", []),
"args": [],
- "flaky": tgt.flaky}
+ "flaky": tgt.flaky,
+ "cpu_cost": tgt.get("cpu_cost", 1.0)}
for tgt in targets
if tgt.get('run', True) and tgt.build == 'test'] +
tests,