tests: Return hard error for functional test when unicode.pf2 does not exist
The functional test requires unicode.pf2 to run successfully, so explicitly have the test return ERROR when its not found. Signed-off-by: Glenn Washburn <development@efficientek.com> Tested-by: Thomas Schmitt <scdbackup@gmx.net> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
56b367d9ff
commit
974ef9231e
@ -3,6 +3,11 @@ set -e
|
||||
|
||||
. "@builddir@/grub-core/modinfo.sh"
|
||||
|
||||
if [ ! -e "@builddir@/"unicode.pf2 ]; then
|
||||
echo "Functional test requires grub-mkfont support"
|
||||
exit 99
|
||||
fi
|
||||
|
||||
case "${grub_modinfo_target_cpu}-${grub_modinfo_platform}" in
|
||||
# PLATFORM: Max RAM is 256M
|
||||
mips-qemu_mips | mipsel-qemu_mips)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user