me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/ruby.scm (ruby-rack-test) [arguments]: Honor #:tests? argument
in check phase override.
master
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
1 changed files with 3 additions and 2 deletions

View File

@ -7222,8 +7222,9 @@ Cache-Control) and/or validation (Last-Modified, ETag) information.")
`(#:phases `(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(replace 'check (replace 'check
(lambda _ (lambda* (#:key tests? #:allow-other-keys)
(invoke "ruby" "-Ilib" "-r" "rack/test")))))) (when tests?
(invoke "ruby" "-Ilib" "-r" "rack/test")))))))
(propagated-inputs (propagated-inputs
(list ruby-rack)) (list ruby-rack))
(synopsis "Testing API for Rack applications") (synopsis "Testing API for Rack applications")