From 4dec6e9fb74a688e0297b127773b88a699531785 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Thu, 11 Apr 2024 12:40:19 -0700 Subject: gnu: diffoscope: Increase test verbosity. * gnu/packages/diffoscope.scm (diffoscope)[phases]: Replace 'check. Signed-off-by: Christopher Baines --- gnu/packages/diffoscope.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index 3db52e5008..8106a6d258 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -139,6 +139,11 @@ (define (bin command) (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")) -- cgit v1.2.3