diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-01-28 08:19:14 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2020-01-28 13:08:42 +0000 |
commit | 674bb86cb854ecad43d7f7c2c14c8960dd29b999 (patch) | |
tree | 7354a124207fc3725b513c68d094f5f808f329e3 /tcwg_kernel-build.sh | |
parent | 6c16657bad62be12250661e1d62f1488f36b41c2 (diff) |
tcwg_kernel-build.sh: Robustify boot test
... to reduce spurious failures. Pass --foreground to timeout to
avoid TTY and signal artifacts, extend timeout (we get 30s boot time
on some kernels), and use non-multiplexed qemu serial.
Change-Id: I1e4574c815426e8d06d0e052e8eb4710771be26d
Diffstat (limited to 'tcwg_kernel-build.sh')
-rwxr-xr-x | tcwg_kernel-build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tcwg_kernel-build.sh b/tcwg_kernel-build.sh index 2be359ec..7de64f3f 100755 --- a/tcwg_kernel-build.sh +++ b/tcwg_kernel-build.sh @@ -195,9 +195,9 @@ boot_linux () ;; *) assert false ;; esac - timeout 20s qemu-system-${rr[target]} \ + timeout --foreground 60s qemu-system-${rr[target]} \ -kernel $image -machine virt $cpu -m 512 \ - -serial mon:stdio -display none \ + -serial stdio -display none \ -append "console=ttyAMA0 panic=-1" -no-reboot echo "linux boot successful:" >> ${rr[top_artifacts]}/results |