diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-10-29 13:13:15 +0100 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-11-01 20:29:32 +0100 |
commit | 83a7a88f93237013a66ec041009dd6add724aaa3 (patch) | |
tree | 53b9b194db66646da62050ace2f662cb1f8a08c4 | |
parent | 6b520156c2fb30412ab7b187f6d65f2d7520e8c9 (diff) | |
download | gnu-guix-83a7a88f93237013a66ec041009dd6add724aaa3.tar gnu-guix-83a7a88f93237013a66ec041009dd6add724aaa3.tar.gz |
gnu: feh: Enable tests.
* gnu/packages/image-viewers.scm (feh)[arguments]: Remove #:tests?. Add
#:test-target.
[native-inputs]: Add PERL and PERL-TEST-COMMAND. New field.
-rw-r--r-- | gnu/packages/image-viewers.scm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gnu/packages/image-viewers.scm b/gnu/packages/image-viewers.scm index 95fb90fdab..9e93a97a9b 100644 --- a/gnu/packages/image-viewers.scm +++ b/gnu/packages/image-viewers.scm @@ -44,6 +44,7 @@ #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages maths) + #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages python) @@ -66,9 +67,12 @@ (build-system gnu-build-system) (arguments '(#:phases (modify-phases %standard-phases (delete 'configure)) - #:tests? #f ;FIXME: Requires 'perl-test-command'. + #:test-target "test" #:make-flags (list "CC=gcc" (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (native-inputs + `(("perl" ,perl) + ("perl-test-command" ,perl-test-command))) (inputs `(("imlib2" ,imlib2) ("curl" ,curl) ("libpng" ,libpng) |