[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag.
From: |
guix-commits |
Subject: |
02/02: gnu: ruby-minitest-pretty-diff: Honor the #:tests? flag. |
Date: |
Thu, 16 Mar 2023 15:59:34 -0400 (EDT) |
efraim pushed a commit to branch core-updates
in repository guix.
commit ef06671d8f8bfc1f0570e5cb067cc3851d064331
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Mar 16 21:51:44 2023 +0200
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.
---
gnu/packages/ruby.scm | 5 +++--
1 file 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")