gnu: p7zip: Honor #:tests? flag.
* gnu/packages/compression.scm (p7zip)[arguments]: Only run test suite when #:tests? is true.
This commit is contained in:
		
							parent
							
								
									fcd88262df
								
							
						
					
					
						commit
						de0954d18c
					
				
					 1 changed files with 5 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -1347,10 +1347,11 @@ for most inputs, but the resulting compressed files are anywhere from 20% to
 | 
			
		|||
                         "makefile.linux_any_cpu_gcc_4.X")))
 | 
			
		||||
                     "makefile.machine")))
 | 
			
		||||
         (replace 'check
 | 
			
		||||
           (lambda _
 | 
			
		||||
           (lambda* (#:key tests? #:allow-other-keys)
 | 
			
		||||
             (when tests?
 | 
			
		||||
               (invoke "make" "test")
 | 
			
		||||
               (invoke "make" "test_7z")
 | 
			
		||||
             (invoke "make" "test_7zr"))))))
 | 
			
		||||
               (invoke "make" "test_7zr")))))))
 | 
			
		||||
    (native-inputs
 | 
			
		||||
     (let ((system (or (%current-target-system)
 | 
			
		||||
                       (%current-system))))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue