aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-10-08 02:55:08 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2015-10-08 02:55:08 +0200
commit351da8d113ae6faf3e82923cc18aabfad7f36d51 (patch)
treeac0ee8b0055a6bf22809dd80cf4396e82bb4a8da /tools
parentb53b36e2b7fced8440241d58c3e24a3ece108cb6 (diff)
Improving run_tests's build step.
-) The prebuild step is now going to retry 5 times. -) Stop on failure in the build steps.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/run_tests/run_tests.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/run_tests.py b/tools/run_tests/run_tests.py
index 6423ecfd7c..dffebc238f 100755
--- a/tools/run_tests/run_tests.py
+++ b/tools/run_tests/run_tests.py
@@ -612,7 +612,7 @@ for l in languages:
set(l.make_targets()))
build_steps = list(set(
- jobset.JobSpec(cmdline, environ={'CONFIG': cfg})
+ jobset.JobSpec(cmdline, environ={'CONFIG': cfg}, flake_retries=5)
for cfg in build_configs
for l in languages
for cmdline in l.pre_build_steps()))
@@ -731,7 +731,7 @@ def _build_and_run(
check_cancelled, newline_on_success, travis, cache, xml_report=None):
"""Do one pass of building & running tests."""
# build latest sequentially
- if not jobset.run(build_steps, maxjobs=1,
+ if not jobset.run(build_steps, maxjobs=1, stop_on_failure=True,
newline_on_success=newline_on_success, travis=travis):
return 1