summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/parallel.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/parallel.scm b/gnu/packages/parallel.scm
index 0e06ef4324..ce1f4f9f79 100644
--- a/gnu/packages/parallel.scm
+++ b/gnu/packages/parallel.scm
@@ -117,11 +117,12 @@
                          '("perl"
                            "procps")))))))
          (add-after 'wrap-program 'post-install-test
-           (lambda* (#:key outputs #:allow-other-keys)
-             (invoke (string-append
-                      (assoc-ref outputs "out") "/bin/parallel")
-                     "echo"
-                     ":::" "1" "2" "3"))))))
+           (lambda* (#:key tests? outputs #:allow-other-keys)
+             (when tests?
+               (invoke (string-append
+                        (assoc-ref outputs "out") "/bin/parallel")
+                       "echo"
+                       ":::" "1" "2" "3")))))))
     (native-inputs
      (list perl pod2pdf))
     (inputs