gnu: gpsbabel: Enable tests.

* gnu/packages/patches/gps.scm (gpsbabel)[source]: Add patch.
[arguments]: Enable tests.
* gnu/packages/patches/gpsbabel-fix-i686-test.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
This commit is contained in:
Efraim Flashner 2021-01-06 10:54:46 +02:00
parent d5ecfb4918
commit 3b141f2eb9
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351
3 changed files with 49 additions and 7 deletions

View file

@ -65,6 +65,7 @@
(sha256
(base32
"010g0vd2f5knpq5p7qfnl31kv3r8m5sjdsafcinbj5gh02j2nzpy"))
(patches (search-patches "gpsbabel-fix-i686-test.patch"))
(modules '((guix build utils)))
(snippet
'(begin
@ -80,13 +81,7 @@
;; TODO: "make doc" requires Docbook & co.
(arguments
`(#:configure-flags
'("--with-zlib=system")
;; On i686, 'raymarine.test' fails because of a rounding error:
;; <http://hydra.gnu.org/build/133040>. As a workaround, disable tests
;; on these platforms.
;; FIXME: On x86_64 with -std=gnu++11 tests also fail due to rounding
;; error.
#:tests? #f))
'("--with-zlib=system")))
(inputs
`(("expat" ,expat)
("libusb" ,libusb)