3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: ruby-rack-test: Honor #:tests? argument.

* gnu/packages/ruby.scm (ruby-rack-test) [arguments]: Honor #:tests? argument
in check phase override.
This commit is contained in:
Maxim Cournoyer 2023-03-14 16:41:28 -04:00
parent 2552d39e92
commit ba5f5158a0
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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")