* grub-core/Makefile.core.def (legacy_password_test): Disable

on platforms where no legacycfg is compiled.
	* grub-core/tests/lib/functional_test.c: Tolerate failure to
	load legacy_password_test.
This commit is contained in:
Vladimir Serbinenko 2013-11-12 18:44:58 +01:00
parent d5bab2c0e1
commit b0720b4988
3 changed files with 14 additions and 1 deletions

View file

@ -53,6 +53,8 @@ grub_functional_all_tests (grub_extcmd_context_t ctxt __attribute__ ((unused)),
grub_test_t test;
int ok = 1;
grub_dl_load ("legacy_password_test");
grub_errno = GRUB_ERR_NONE;
grub_dl_load ("exfctest");
grub_dl_load ("videotest_checksum");
grub_dl_load ("gfxterm_menu");
@ -61,7 +63,6 @@ grub_functional_all_tests (grub_extcmd_context_t ctxt __attribute__ ((unused)),
grub_dl_load ("div_test");
grub_dl_load ("xnu_uuid_test");
grub_dl_load ("pbkdf2_test");
grub_dl_load ("legacy_password_test");
grub_dl_load ("signature_test");
FOR_LIST_ELEMENTS (test, grub_test_list)