mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
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 @@ (define-public p7zip
|
|||
"makefile.linux_any_cpu_gcc_4.X")))
|
||||
"makefile.machine")))
|
||||
(replace 'check
|
||||
(lambda _
|
||||
(invoke "make" "test")
|
||||
(invoke "make" "test_7z")
|
||||
(invoke "make" "test_7zr"))))))
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(invoke "make" "test")
|
||||
(invoke "make" "test_7z")
|
||||
(invoke "make" "test_7zr")))))))
|
||||
(native-inputs
|
||||
(let ((system (or (%current-target-system)
|
||||
(%current-system))))
|
||||
|
|
Loading…
Reference in a new issue