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:
		
							parent
							
								
									6b520156c2
								
							
						
					
					
						commit
						83a7a88f93
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -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)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue