]> git.proxmox.com Git - grub2.git/commitdiff
* grub-core/tests/lib/functional_test.c: Don't stop on first failed
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 May 2013 11:54:08 +0000 (13:54 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sat, 4 May 2013 11:54:08 +0000 (13:54 +0200)
test.

ChangeLog
grub-core/tests/lib/functional_test.c

index 8d415176b4230bea7e2dee1f1836b15d46a5c33d..d5f9bb90c980912d30cf33455d4cf354b1cb4e27 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index c70e1add145f103d017690470a668b9195785964..957354e0519f902cb9bfbd0e53f21211433a4516 100644 (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