diff options
author | Oliver O'Halloran <oohall@gmail.com> | 2019-11-27 11:23:40 +1100 |
---|---|---|
committer | Oliver O'Halloran <oohall@gmail.com> | 2019-12-04 14:19:06 +1100 |
commit | 0990e822666b65b50fb577c0389a972637249896 (patch) | |
tree | 710b564fb169f15c1ed7eea04e8386287aa7e332 /test | |
parent | 9be9a77a8352aee0bb74ac0d79f55e1238f76285 (diff) | |
download | skiboot-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')
-rwxr-xr-x | test/hello_world/run_mambo_hello_world.sh | 1 | ||||
-rwxr-xr-x | test/hello_world/run_mambo_p9_hello_world.sh | 1 | ||||
-rwxr-xr-x | test/hello_world/run_qemu_hello_world.sh | 1 | ||||
-rwxr-xr-x | test/run_mambo_boot_test.sh | 1 | ||||
-rwxr-xr-x | test/run_qemu_boot_test.sh | 1 | ||||
-rwxr-xr-x | test/sreset_world/run_mambo_p9_sreset.sh | 1 | ||||
-rwxr-xr-x | test/sreset_world/run_mambo_sreset.sh | 1 |
7 files changed, 7 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 diff --git a/test/run_mambo_boot_test.sh b/test/run_mambo_boot_test.sh index 9899bde..d08d93f 100755 --- a/test/run_mambo_boot_test.sh +++ b/test/run_mambo_boot_test.sh @@ -65,6 +65,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/run_qemu_boot_test.sh b/test/run_qemu_boot_test.sh index db657ee..ee3d9da 100755 --- a/test/run_qemu_boot_test.sh +++ b/test/run_qemu_boot_test.sh @@ -55,6 +55,7 @@ if [ $E -eq 3 ]; then exit 0; fi +if [ -n "$V" ] ; then cat "$t" ; fi if [ $E -eq 0 ]; then rm $T else diff --git a/test/sreset_world/run_mambo_p9_sreset.sh b/test/sreset_world/run_mambo_p9_sreset.sh index 4bfa547..cc19c58 100755 --- a/test/sreset_world/run_mambo_p9_sreset.sh +++ b/test/sreset_world/run_mambo_p9_sreset.sh @@ -70,6 +70,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/sreset_world/run_mambo_sreset.sh b/test/sreset_world/run_mambo_sreset.sh index 24a8a93..298a582 100755 --- a/test/sreset_world/run_mambo_sreset.sh +++ b/test/sreset_world/run_mambo_sreset.sh @@ -70,6 +70,7 @@ if [ $r != 0 ]; then exit $r fi +if [ -n "$V" ] ; then cat "$t" ; fi rm -f -- "$t" trap - EXIT exit 0; |