aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/task_runner.py
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-04-21 13:27:42 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-05-12 10:18:49 +0200
commit47c7521960be0a8db795f32315831fc540892a5e (patch)
treea147615bf97177cd82f63792b2163c21923ea526 /tools/run_tests/task_runner.py
parentfa7892434088ad1b691dd7d1fe1769b580329081 (diff)
simplify building artifacts on a single machine
Diffstat (limited to 'tools/run_tests/task_runner.py')
-rwxr-xr-xtools/run_tests/task_runner.py5
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)