summary refs log tree commit diff
diff options
context:
space:
mode:
authorMathieu Othacehe <m.othacehe@gmail.com>2017-11-28 10:25:00 +0100
committerMathieu Othacehe <m.othacehe@gmail.com>2017-11-29 15:00:55 +0100
commit56f0feb6781e3680541d7adc21d6b3b4746a33ca (patch)
tree933523d351a40b5658553f3935a5d327973735be
parent1fd904fb38c263afedb44915471833d4b550604a (diff)
downloadguix-56f0feb6781e3680541d7adc21d6b3b4746a33ca.tar.gz
gnu: grub: Disable tests on ARM platforms.
* gnu/packages/bootloaders (grub): Disable tests on ARM platforms.
Half of the tests are failing on ARM.
-rw-r--r--gnu/packages/bootloaders.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 20f38b2d0d..dea9366f58 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -75,7 +75,7 @@
                "03vvdfhdmf16121v7xs8is2krwnv15wpkhkf16a4yf8nsfc3f2w1"))))
     (build-system gnu-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
+     `(#:phases (modify-phases %standard-phases
                   (add-after 'unpack 'patch-stuff
                    (lambda* (#:key inputs #:allow-other-keys)
                      (substitute* "grub-core/Makefile.in"
@@ -102,7 +102,10 @@
                       (substitute* "Makefile.in"
                         (("grub_cmd_date grub_cmd_set_date grub_cmd_sleep")
                           "grub_cmd_date grub_cmd_sleep"))
-                      #t)))))
+                      #t)))
+       ;; Disable tests on ARM platforms.
+       #:tests? ,(not (string-prefix? "arm" (or (%current-target-system)
+                                                (%current-system))))))
     (inputs
      `(("gettext" ,gettext-minimal)