[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/16: gnu: ruby-yard-with-tests: Run tests conditionally.
From: |
guix-commits |
Subject: |
04/16: gnu: ruby-yard-with-tests: Run tests conditionally. |
Date: |
Fri, 11 Mar 2022 23:43:24 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 0679c8fe976f3281e840f1332db60628351c9793
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:06 2022 +0000
gnu: ruby-yard-with-tests: Run tests conditionally.
* gnu/packages/ruby.scm (ruby-yard-with-tests)[arguments]:
Remove #:tests? instead of unconditionally setting it to #t.
[phases]: Delete trailing #t.
[native-inputs]: Use new style.
Modified-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/ruby.scm | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 21b982d4a9..c3c357d216 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -8279,8 +8279,8 @@ definitions.")
(inherit ruby-yard)
(name "ruby-yard-with-tests")
(arguments
- (substitute-keyword-arguments (package-arguments ruby-yard)
- ((#:tests? _ #t) #t)
+ (substitute-keyword-arguments
+ (strip-keyword-arguments '(#:tests?) (package-arguments ruby-yard))
((#:test-target _ "default") "default")
((#:phases phases '%standard-phases)
`(modify-phases ,phases
@@ -8293,13 +8293,8 @@ definitions.")
(delete-file "Gemfile")
;; $HOME needs to be set to somewhere writeable for tests to
;; run.
- (setenv "HOME" "/tmp"))
- #t))))))
- (native-inputs
- `(("ruby-rspec" ,ruby-rspec)
- ("ruby-rack" ,ruby-rack)
- ("ruby-redcloth" ,ruby-redcloth)
- ("ruby-asciidoc" ,ruby-asciidoctor)))))
+ (setenv "HOME" "/tmp"))))))))
+ (native-inputs (list ruby-rspec ruby-rack ruby-redcloth
ruby-asciidoctor))))
(define-public ruby-spectroscope
(package
- branch master updated (b769fe7f75 -> 662f1f7bba), guix-commits, 2022/03/11
- 04/16: gnu: ruby-yard-with-tests: Run tests conditionally.,
guix-commits <=
- 05/16: gnu: ruby-ffi-rzmq: Honor TESTS?., guix-commits, 2022/03/11
- 07/16: gnu: ecl: Run tests conditionally and please lint., guix-commits, 2022/03/11
- 08/16: gnu: perl-unicode-utf8: Run tests conditionally., guix-commits, 2022/03/11
- 02/16: gnu: lean: Update to 3.41.0 and fixes toward cross-compilation., guix-commits, 2022/03/11
- 01/16: lint: check-tests-true: Allow #:tests? #t for some build systems., guix-commits, 2022/03/11
- 13/16: gnu: belcard: Run tests conditionally., guix-commits, 2022/03/11
- 14/16: gnu: tdlib: Run tests conditionally., guix-commits, 2022/03/11
- 16/16: gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 15/16: gnu: extra-cmake-modules: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 03/16: gnu: swi-prolog: Fix cross-compilation., guix-commits, 2022/03/11