me
/
guix
Archived
1
0
Fork 0

gnu: diffoscope: Increase test verbosity.

* gnu/packages/diffoscope.scm (diffoscope)[phases]: Replace 'check.

Signed-off-by: Christopher Baines <mail@cbaines.net>
master
Vagrant Cascadian 2024-04-11 12:40:19 -07:00 committed by Christopher Baines
parent d95ed91f38
commit 4dec6e9fb7
No known key found for this signature in database
GPG Key ID: 5E28A33B0B84F577
1 changed files with 5 additions and 0 deletions

View File

@ -139,6 +139,11 @@
(lambda _
;; This requires /sbin to be in $PATH.
(delete-file "tests/test_tools.py")))
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
;; Increase verbosity of tests and provide a summary
(invoke "pytest" "-vv" "-r" "sxX"))))
(add-after 'install 'install-man-page
(lambda* (#:key outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))