summary refs log tree commit diff
path: root/gnu/packages/gpodder.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/gpodder.scm')
-rw-r--r--gnu/packages/gpodder.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/gpodder.scm b/gnu/packages/gpodder.scm
index 13a75d4fd4..5a18a16753 100644
--- a/gnu/packages/gpodder.scm
+++ b/gnu/packages/gpodder.scm
@@ -93,11 +93,12 @@
                  (("xdg-open") (string-append xdg-utils "/bin/xdg-open")))
                #t)))
          (replace 'check
-           (lambda _
+           (lambda* (#:key tests? #:allow-other-keys)
              ; The `unittest' target overrides the PYTHONPATH variable.
              (substitute* "makefile"
                (("PYTHONPATH=src/") "PYTHONPATH=${PYTHONPATH}:src/"))
-             (invoke "make" "unittest")))
+             (when tests?
+               (invoke "make" "unittest"))))
          ;; 'msgmerge' introduces non-determinism by resetting the
          ;; POT-Creation-Date in .po files.
          (add-before 'install 'do-not-run-msgmerge