diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-01-14 12:58:36 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-01-15 09:05:28 +0200 |
commit | 0efdcb69f4c174598a03ac1e8dc061f0dd0115e0 (patch) | |
tree | 41f9f3dd842b35e5736f01b04c4b5211567cb6e4 | |
parent | 49ac3e34f8d6fa7dc338cde08f51a6f7929040fd (diff) | |
download | vmdb2-0efdcb69f4c174598a03ac1e8dc061f0dd0115e0.tar.gz |
test: only test i386 UEFI if the tooling is available
Debian buster doesn't have it, Debian bullseye does. I want the test
suite to run on both, so this is a compromise.
-rwxr-xr-x | check-all | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -41,12 +41,16 @@ do done -bash -x ./smoke-i386.sh "$i386_tarball" - -for x in "$@" i386 i386-uefi -do - tryit "$tarballdir/$x.img" "$x.vmdb" "$i386_tarball" -done +if [ -e /usr/share/OVMF/OVMF32_VARS_4M.fd ] +then + bash -x ./smoke-i386.sh "$i386_tarball" +fi +tryit "$tarballdir/i386.img" "i386.vmdb" "$i386_tarball" + +if [ -e /usr/share/OVMF/OVMF32_VARS_4M.fd ] +then + tryit "$tarballdir/i386-uefi.img" "i386-uefi.vmdb" "$i386_tarball" +fi # On amd64, qemu-user-static has occasionally been observed to segfault. This |