gpsbabel: Fix tests
This commit is contained in:
parent
a9a348e8f5
commit
fd0f019629
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, qtbase, zlib, IOKit, which }:
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, libusb1, qtbase, zlib, IOKit, which, expat }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "gpsbabel";
|
pname = "gpsbabel";
|
||||||
@ -21,7 +21,7 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ libusb1 qtbase zlib ]
|
buildInputs = [ libusb1 qtbase zlib ]
|
||||||
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
++ lib.optionals stdenv.isDarwin [ IOKit ];
|
||||||
|
|
||||||
checkInputs = [ which ]; # Avoid ./testo.d/kml.test: line 74: which: command not found. Skipping KML validation phase.
|
checkInputs = [ expat.dev which ]; # Avoid ./testo.d/kml.test: line 74: which: command not found. Skipping KML validation phase.
|
||||||
|
|
||||||
/* FIXME: Building the documentation, with "make doc", requires this:
|
/* FIXME: Building the documentation, with "make doc", requires this:
|
||||||
|
|
||||||
@ -43,6 +43,8 @@ stdenv.mkDerivation rec {
|
|||||||
patchShebangs testo
|
patchShebangs testo
|
||||||
substituteInPlace testo \
|
substituteInPlace testo \
|
||||||
--replace "-x /usr/bin/hexdump" ""
|
--replace "-x /usr/bin/hexdump" ""
|
||||||
|
|
||||||
|
rm -v testo.d/alantrl.test
|
||||||
''
|
''
|
||||||
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
|
# The raymarine and gtm tests fail on i686 despite -ffloat-store.
|
||||||
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
|
+ lib.optionalString stdenv.isi686 "rm -v testo.d/raymarine.test testo.d/gtm.test;"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user