summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-03-16 21:51:44 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-03-16 21:51:44 +0200
commitef06671d8f8bfc1f0570e5cb067cc3851d064331 (patch)
treeb7c5ec27cbaba2847216dd234271e1cfcb82228f /gnu
parent40d8a8c90fdf53f5f2e8e6e2da2ffb4bbe66e12d (diff)
downloadguix-ef06671d8f8bfc1f0570e5cb067cc3851d064331.tar.gz
gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag.
* gnu/packages/ruby.scm (ruby-minitest-pretty-diff)[arguments]: Adjust
custom 'check phase to honor the #:tests? flag.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/ruby.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 7459222dc9..d61d67a7f7 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -4490,8 +4490,9 @@ is to be run.")
        `(#:phases
          (modify-phases %standard-phases
            (replace 'check
-             (lambda _
-               (invoke "sh" "script/test"))))))
+             (lambda* (#:key tests? #:allow-other-keys)
+               (when tests?
+                 (invoke "sh" "script/test")))))))
       (native-inputs
        (list bundler ruby-turn))
       (synopsis "Pretty-print hashes and arrays in MiniTest")