mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 17:19:22 +00:00
tests: Exit with skipped exit code when test not performed
These tests were not performed and therefore did not pass, nor fail. This fixes misleading test exit code where, for instance, the pseries_test will pass on i386-pc, which is not a pseries architecture. Signed-off-by: Glenn Washburn <development@efficientek.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
1 parent
bcb15e011a
commit
4dc5259b6e
15 files changed
+51
-51
No files matched your search
@@ -22,16 +22,16 @@ grubshell=@builddir@/grub-shell
|
||||
case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
|
||||
# PLATFORM: emu is different
|
||||
*-emu)
|
||||
exit 0;;
|
||||
exit 77;;
|
||||
# PLATFORM: Flash targets
|
||||
i386-qemu | i386-coreboot | mips-qemu_mips | mipsel-qemu_mips)
|
||||
exit 0;;
|
||||
exit 77;;
|
||||
# FIXME: currently grub-shell uses only -kernel for loongson
|
||||
mipsel-loongson)
|
||||
exit 0;;
|
||||
exit 77;;
|
||||
# FIXME: OFW fails to open CD-ROM
|
||||
i386-ieee1275)
|
||||
exit 0;;
|
||||
exit 77;;
|
||||
esac
|
||||
|
||||
v=$(echo hello | "${grubshell}" --boot=cd)
|
||||
|
||||
Reference in new issue
Block a user