diff options
author | 2017-04-21 13:27:42 +0200 | |
---|---|---|
committer | 2017-05-12 10:18:49 +0200 | |
commit | 47c7521960be0a8db795f32315831fc540892a5e (patch) | |
tree | a147615bf97177cd82f63792b2163c21923ea526 /tools/run_tests/task_runner.py | |
parent | fa7892434088ad1b691dd7d1fe1769b580329081 (diff) |
simplify building artifacts on a single machine
Diffstat (limited to 'tools/run_tests/task_runner.py')
-rwxr-xr-x | tools/run_tests/task_runner.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/run_tests/task_runner.py b/tools/run_tests/task_runner.py index 0ec7efbbee..7feac29673 100755 --- a/tools/run_tests/task_runner.py +++ b/tools/run_tests/task_runner.py @@ -40,6 +40,7 @@ import artifacts.artifact_targets as artifact_targets import artifacts.distribtest_targets as distribtest_targets import artifacts.package_targets as package_targets import python_utils.jobset as jobset +import python_utils.report_utils as report_utils _TARGETS = [] _TARGETS += artifact_targets.targets() @@ -116,8 +117,10 @@ if not build_jobs: sys.exit(1) jobset.message('START', 'Building targets.', do_newline=True) -num_failures, _ = jobset.run( +num_failures, resultset = jobset.run( build_jobs, newline_on_success=True, maxjobs=args.jobs) +report_utils.render_junit_xml_report(resultset, 'report_taskrunner_sponge_log.xml', + suite_name='tasks') if num_failures == 0: jobset.message('SUCCESS', 'All targets built successfully.', do_newline=True) |