aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-06-24 13:17:37 -0400
committerLeo Famulari <leo@famulari.name>2017-06-25 09:47:24 -0400
commit23a53a95f1f5f44df401c120276eebf196ba15d2 (patch)
tree8f9fb40a333a6805f395bc6e3857c1b7b71d86af /gnu
parent052d9c01d94878644c4b31912cf82aef8d56654a (diff)
downloadguix-23a53a95f1f5f44df401c120276eebf196ba15d2.tar
guix-23a53a95f1f5f44df401c120276eebf196ba15d2.tar.gz
gnu: grub: Disable a flaky test.
* gnu/packages/bootloaders.scm (grub)[arguments]: Add 'disable-flaky-test' phase and run the tests in parallel.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/bootloaders.scm14
1 files changed, 9 insertions, 5 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index dec462b0cb..9ae6175280 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -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)