From ba5f5158a0a1fe6fa57da7cfa0d3357f1dcce53b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 14 Mar 2023 16:41:28 -0400 Subject: gnu: ruby-rack-test: Honor #:tests? argument. * gnu/packages/ruby.scm (ruby-rack-test) [arguments]: Honor #:tests? argument in check phase override. --- gnu/packages/ruby.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'gnu') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 209f1dc86a..3b04aa193f 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -7222,8 +7222,9 @@ Cache-Control) and/or validation (Last-Modified, ETag) information.") `(#:phases (modify-phases %standard-phases (replace 'check - (lambda _ - (invoke "ruby" "-Ilib" "-r" "rack/test")))))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "ruby" "-Ilib" "-r" "rack/test"))))))) (propagated-inputs (list ruby-rack)) (synopsis "Testing API for Rack applications") -- cgit v1.2.3