Skip to content
Snippets Groups Projects
Commit 351da8d1 authored by Nicolas "Pixel" Noble's avatar Nicolas "Pixel" Noble
Browse files

Improving run_tests's build step.

-) The prebuild step is now going to retry 5 times.
-) Stop on failure in the build steps.
parent b53b36e2
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment