* grub-core/tests/lib/functional_test.c: Don't stop on first failed

test.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-04 13:54:08 +02:00
parent 44dea3f9a9
commit 0fb356a385
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2013-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/tests/lib/functional_test.c: Don't stop on first failed
test.
2013-05-04 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/normal/menu_text.c (menu_clear_timeout): Clear second

View file

@ -33,7 +33,11 @@ grub_functional_test (grub_extcmd_context_t ctxt __attribute__ ((unused)),
int ok = 1;
FOR_LIST_ELEMENTS (test, grub_test_list)
ok = ok && !grub_test_run (test);
{
grub_errno = 0;
ok = ok && !grub_test_run (test);
grub_errno = 0;
}
if (ok)
grub_printf ("ALL TESTS PASSED\n");
else