* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Handle out-of-memory
condition. * tests/grub_func_test.in: Increase memory allocation.
This commit is contained in:
parent
6a74c4dfff
commit
31747dd521
3 changed files with 14 additions and 1 deletions
|
@ -3,7 +3,8 @@ set -e
|
|||
|
||||
. "@builddir@/grub-core/modinfo.sh"
|
||||
|
||||
out=`echo all_functional_test | @builddir@/grub-shell --timeout=3600 --files="/boot/grub/fonts/unicode.pf2"="@builddir@/"unicode.pf2`
|
||||
# Increase memory as some of tests are high-resolution and need a lot of memory.
|
||||
out=`echo all_functional_test | @builddir@/grub-shell --timeout=3600 --files="/boot/grub/fonts/unicode.pf2"="@builddir@/"unicode.pf2 --qemu-opts="-m 512"`
|
||||
|
||||
if [ "$(echo "$out" | tail -n 1)" != "ALL TESTS PASSED" ]; then
|
||||
echo "Functional test failure: $out"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue