diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-14 16:41:28 -0400 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2023-03-28 22:22:22 -0400 |
commit | ba5f5158a0a1fe6fa57da7cfa0d3357f1dcce53b (patch) | |
tree | 9ea4b06d387e520936a986fa30267b96eae47d92 /gnu | |
parent | 2552d39e92432fec9e70ef24c78d29902a642eab (diff) | |
download | guix-ba5f5158a0a1fe6fa57da7cfa0d3357f1dcce53b.tar.gz guix-ba5f5158a0a1fe6fa57da7cfa0d3357f1dcce53b.zip |
gnu: ruby-rack-test: Honor #:tests? argument.
* gnu/packages/ruby.scm (ruby-rack-test) [arguments]: Honor #:tests? argument
in check phase override.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/ruby.scm | 5 |
1 files changed, 3 insertions, 2 deletions
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") |