Archived
1
0
Fork 0

gnu: p7zip: Honor #:tests? flag.

* gnu/packages/compression.scm (p7zip)[arguments]: Only run test suite
when #:tests? is true.
This commit is contained in:
Efraim Flashner 2021-08-08 10:46:44 +03:00
parent fcd88262df
commit de0954d18c
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -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.linux_any_cpu_gcc_4.X")))
"makefile.machine"))) "makefile.machine")))
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(invoke "make" "test") (when tests?
(invoke "make" "test_7z") (invoke "make" "test")
(invoke "make" "test_7zr")))))) (invoke "make" "test_7z")
(invoke "make" "test_7zr")))))))
(native-inputs (native-inputs
(let ((system (or (%current-target-system) (let ((system (or (%current-target-system)
(%current-system)))) (%current-system))))