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.
This commit is contained in:
Marius Bakke 2017-10-29 13:13:15 +01:00
parent 6b520156c2
commit 83a7a88f93
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 1 deletions

View File

@ -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)