aboutsummaryrefslogtreecommitdiff
path: root/test/hello_world
diff options
context:
space:
mode:
authorOliver O'Halloran <oohall@gmail.com>2019-11-27 11:23:40 +1100
committerOliver O'Halloran <oohall@gmail.com>2019-12-04 14:19:06 +1100
commit0990e822666b65b50fb577c0389a972637249896 (patch)
tree710b564fb169f15c1ed7eea04e8386287aa7e332 /test/hello_world
parent9be9a77a8352aee0bb74ac0d79f55e1238f76285 (diff)
downloadskiboot-0990e822666b65b50fb577c0389a972637249896.zip
skiboot-0990e822666b65b50fb577c0389a972637249896.tar.gz
skiboot-0990e822666b65b50fb577c0389a972637249896.tar.bz2
boottests: Print the simulator output if V=1 is set
Currently we only print it on failures, but sometimes it's nice to see the output in the successful cases too. Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Diffstat (limited to 'test/hello_world')
-rwxr-xr-xtest/hello_world/run_mambo_hello_world.sh1
-rwxr-xr-xtest/hello_world/run_mambo_p9_hello_world.sh1
-rwxr-xr-xtest/hello_world/run_qemu_hello_world.sh1
3 files changed, 3 insertions, 0 deletions
diff --git a/test/hello_world/run_mambo_hello_world.sh b/test/hello_world/run_mambo_hello_world.sh
index d3dbf1f..a9f5b8a 100755
--- a/test/hello_world/run_mambo_hello_world.sh
+++ b/test/hello_world/run_mambo_hello_world.sh
@@ -58,6 +58,7 @@ if [ $r != 0 ]; then
exit $r
fi
+if [ -n "$V" ] ; then cat "$t" ; fi
rm -f -- "$t"
trap - EXIT
exit 0;
diff --git a/test/hello_world/run_mambo_p9_hello_world.sh b/test/hello_world/run_mambo_p9_hello_world.sh
index 9c304fd..e9eee8c 100755
--- a/test/hello_world/run_mambo_p9_hello_world.sh
+++ b/test/hello_world/run_mambo_p9_hello_world.sh
@@ -58,6 +58,7 @@ if [ $r != 0 ]; then
exit $r
fi
+if [ -n "$V" ] ; then cat "$t" ; fi
rm -f -- "$t"
trap - EXIT
exit 0;
diff --git a/test/hello_world/run_qemu_hello_world.sh b/test/hello_world/run_qemu_hello_world.sh
index 4f12958..265add8 100755
--- a/test/hello_world/run_qemu_hello_world.sh
+++ b/test/hello_world/run_qemu_hello_world.sh
@@ -50,6 +50,7 @@ if [ $r != 0 ]; then
exit $r
fi
+if [ -n "$V" ] ; then cat "$t" ; fi
rm -f -- "$t"
trap - EXIT