* grub-core/tests/cmdline_cat_test.c (cmdline_cat_test): Ignore errors
of loading gfxterm as gfxterm is embed in kernel on some platforms. * grub-core/tests/gfxterm_menu.c (gfxterm_menu): Likewise. Load gfxmenu.
This commit is contained in:
parent
b80c2d6d4b
commit
0ab8e025c1
3 changed files with 12 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/tests/cmdline_cat_test.c (cmdline_cat_test): Ignore errors
|
||||||
|
of loading gfxterm as gfxterm is embed in kernel on some platforms.
|
||||||
|
* grub-core/tests/gfxterm_menu.c (gfxterm_menu): Likewise.
|
||||||
|
Load gfxmenu.
|
||||||
|
|
||||||
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-11-17 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* tests/core_compress_test.in: Use full arguments as grub-mkimage-extra
|
* tests/core_compress_test.in: Use full arguments as grub-mkimage-extra
|
||||||
|
|
|
@ -74,6 +74,7 @@ cmdline_cat_test (void)
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
|
||||||
grub_dl_load ("gfxterm");
|
grub_dl_load ("gfxterm");
|
||||||
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
|
||||||
if (grub_font_load ("unicode") == 0)
|
if (grub_font_load ("unicode") == 0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -101,6 +101,10 @@ gfxterm_menu (void)
|
||||||
grub_dl_load ("gettext");
|
grub_dl_load ("gettext");
|
||||||
grub_dl_load ("gfxterm");
|
grub_dl_load ("gfxterm");
|
||||||
|
|
||||||
|
grub_errno = GRUB_ERR_NONE;
|
||||||
|
|
||||||
|
grub_dl_load ("gfxmenu");
|
||||||
|
|
||||||
if (grub_font_load ("unicode") == 0)
|
if (grub_font_load ("unicode") == 0)
|
||||||
{
|
{
|
||||||
grub_test_assert (0, "unicode font not found: %s", grub_errmsg);
|
grub_test_assert (0, "unicode font not found: %s", grub_errmsg);
|
||||||
|
|
Loading…
Reference in a new issue