sanitycheck: report results before coverage generation First report results, then start with coverage processing. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
diff --git a/scripts/sanitycheck b/scripts/sanitycheck index 6699af6..d989e0b 100755 --- a/scripts/sanitycheck +++ b/scripts/sanitycheck
@@ -3929,6 +3929,9 @@ suite.misc_reports(options.compare_report, options.show_footprint, options.all_deltas, options.footprint_threshold, options.last_metrics) + suite.duration = time.time() - start_time + suite.summary(options.disable_unrecognized_section_test) + if options.coverage: if options.gcov_tool is None: use_system_gcov = False @@ -3947,9 +3950,6 @@ info("Generating coverage files...") generate_coverage(options.outdir, ["*generated*", "tests/*", "samples/*"]) - suite.duration = time.time() - start_time - suite.summary(options.disable_unrecognized_section_test) - if options.device_testing: print("\nHardware distribution summary:\n") for p in suite.connected_hardware: