Skip to content

Commit 71fe5e8

Browse files
committed
Printing build summary at the end of build, as well as build log for failures
1 parent da4a169 commit 71fe5e8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tools/test.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@
185185
report_exporter = ReportExporter(ResultExporterType.JUNIT, package="build")
186186
report_exporter.report_to_file(build_report, options.build_report_junit, test_suite_properties=build_properties)
187187

188-
if library_build_success and test_build_success:
188+
print_report_exporter = ReportExporter(ResultExporterType.PRINT, package="build")
189+
status = print_report_exporter.report(build_report)
190+
191+
if status:
189192
sys.exit(0)
190193
else:
191194
sys.exit(1)

0 commit comments

Comments
 (0)