obmc_boot_test.py: boot_results.print_report() before stop_check.
Moved boot_results.print_report() prior to stop_check. If a
stop check indicates that the program should terminate, there
should still be a print out of latest results.
Change-Id: I16de8689f1412903494735362d51c54878875649
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/obmc_boot_test.py b/lib/obmc_boot_test.py
index 259e139..a7f3171 100755
--- a/lib/obmc_boot_test.py
+++ b/lib/obmc_boot_test.py
@@ -565,6 +565,9 @@
grp.rpissuing_keyword(cmd_buf)
BuiltIn().run_keyword_and_continue_on_failure(*cmd_buf)
+ boot_results.print_report()
+ grp.rqprint_timen("Finished boot " + str(boot_count) + ".")
+
plug_in_setup()
rc, shell_rc, failed_plug_in_name = grpi.rprocess_plug_in_packages(
call_point='stop_check')
@@ -573,9 +576,6 @@
grp.rprint_error_report(error_message)
BuiltIn().fail(error_message)
- boot_results.print_report()
- grp.rqprint_timen("Finished boot " + str(boot_count) + ".")
-
return True
###############################################################################