obmc_boot_test.py print to qprint
qprint will respect the global quiet value in determining whether to
print.
Change-Id: Ic035fd02ef52434cc118db880595c7e578b29291
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
diff --git a/lib/obmc_boot_test.py b/lib/obmc_boot_test.py
index 734be47..54e2eb4 100755
--- a/lib/obmc_boot_test.py
+++ b/lib/obmc_boot_test.py
@@ -363,8 +363,8 @@
frame The frame data.
"""
- gp.printn()
- gp.print_executing()
+ gp.qprintn()
+ gp.qprint_executing()
gp.lprint_executing()
@@ -373,8 +373,8 @@
Set the default_sigusr1 function to be the SIGUSR1 handler.
"""
- gp.printn()
- gp.print_executing()
+ gp.qprintn()
+ gp.qprint_executing()
gp.lprint_executing()
signal.signal(signal.SIGUSR1, default_sigusr1)
@@ -790,8 +790,8 @@
frame The frame data.
"""
- gp.printn()
- gp.print_executing()
+ gp.qprintn()
+ gp.qprint_executing()
gp.lprint_executing()
# Restore original sigusr1 handler.
@@ -964,7 +964,7 @@
stop_on_non_zero_rc=1)
if shell_rc == stop_test_rc():
message = "Stopping as requested by user.\n"
- gp.print_time(message)
+ gp.qprint_time(message)
BuiltIn().fail(message)
# This should help prevent ConnectionErrors.
@@ -1069,7 +1069,7 @@
stop_on_non_zero_rc=1)
if shell_rc == stop_test_rc():
message = "Stopping as requested by user.\n"
- gp.print_time(message)
+ gp.qprint_time(message)
BuiltIn().fail(message)