~ruther/guix-local

23a53a95f1f5f44df401c120276eebf196ba15d2 — Leo Famulari 8 years ago 052d9c0
gnu: grub: Disable a flaky test.

* gnu/packages/bootloaders.scm (grub)[arguments]: Add 'disable-flaky-test' phase
and run the tests in parallel.
1 files changed, 9 insertions(+), 5 deletions(-)

M gnu/packages/bootloaders.scm
M gnu/packages/bootloaders.scm => gnu/packages/bootloaders.scm +9 -5
@@ 91,11 91,15 @@
                     ;; Make the font visible.
                     (copy-file (assoc-ref inputs "unifont") "unifont.bdf.gz")
                     (system* "gunzip" "unifont.bdf.gz")
                     #t)))

       ;; We suspect there are race conditions when running tests in parallel:
       ;; <https://bugs.gnu.org/26936>.
       #:parallel-tests? #f))
                     #t))
                  (add-before 'check 'disable-flaky-test
                    (lambda _
                      ;; This test is unreliable. For more information, see:
                      ;; <https://bugs.gnu.org/26936>.
                      (substitute* "Makefile.in"
                        (("grub_cmd_date grub_cmd_set_date grub_cmd_sleep")
                          "grub_cmd_date grub_cmd_sleep"))
                      #t)))))
    (inputs
     `(("gettext" ,gettext-minimal)