~ruther/guix-local

90ea83ee95ad467fc4a49f4c42d0df94d2952330 — Ludovic Courtès 8 years ago c8737b1
gnu: bluez: Work around test failure on ARM.

This aims to skip the segfaulting test at
<https://hydra.gnu.org/build/2195551>.

* gnu/packages/linux.scm (bluez)[arguments]: Add #:make-flags
when (%current-system) is "armhf-linux".
1 files changed, 7 insertions(+), 2 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +7 -2
@@ 2975,7 2975,7 @@ Bluetooth audio output devices like headphones or loudspeakers.")
                "1sb4aflgyrl7apricjipa8wx95qm69yja0lmn2f19g560c3v1b2c"))))
    (build-system gnu-build-system)
    (arguments
     '(#:configure-flags
     `(#:configure-flags
       (let ((out (assoc-ref %outputs "out")))
         (list "--sysconfdir=/etc"
               "--localstatedir=/var"


@@ 3004,7 3004,12 @@ Bluetooth audio output devices like headphones or loudspeakers.")
                  (string-append out "/lib/udev/hid2hci --method"))
                 (("/sbin/udevadm")
                  (string-append (assoc-ref inputs "eudev") "/bin/udevadm")))
               #t))))))
               #t))))

       ;; FIXME: Skip one test that segfaults on ARM.
       ,@(if (string=? (%current-system) "armhf-linux")
             '(#:make-flags '("XFAIL_TESTS=unit/test-gatt"))
             '())))
    (native-inputs
     `(("pkg-config" ,pkg-config)
       ("gettext" ,gettext-minimal)))