[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v2 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v2 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?. |
Date: |
Mon, 27 Sep 2021 17:45:23 +0200 |
* gnu/packages/ruby.scm (ruby-ffi-rzmq)[arguments]<#:phases>:
Only invoke "rspec" if #:tests? is true.
---
gnu/packages/ruby.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index e361c699ef..7817025cb4 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7590,8 +7590,9 @@ library.")
(build-system ruby-build-system)
(arguments '(#:phases (modify-phases %standard-phases
(replace 'check
- (lambda _
- (invoke "rspec"))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "rspec")))))))
(native-inputs
`(("ruby-rspec" ,ruby-rspec)))
(propagated-inputs
--
2.33.0
- bug#50299: [PATCH v2 05/27] gnu: swi-prolog: Don't explicitely enable tests., (continued)
- bug#50299: [PATCH v2 05/27] gnu: swi-prolog: Don't explicitely enable tests., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 11/27] gnu: ruby-byebug-11: Don't enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 10/27] gnu: ruby-yard-with-tests: Don't enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 12/27] gnu: ruby-ffi-rzmq: Don't enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 14/27] gnu: go-1.16: Don't enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 09/27] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 26/27] gnu: inkscape-1.1: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 27/27] gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 06/27] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 17/27] gnu: libicns: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?.,
Maxime Devos <=
- bug#50299: [PATCH v2 18/27] gnu: python2-empy: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 22/27] gnu: belcard: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 21/27] gnu: lablgtk: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 15/27] gnu: ecl: Don't pretend to enable tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 07/27] gnu: swi-prolog: Don't use 'cc'., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 20/27] gnu: ocaml4.07-fftw3: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 19/27] gnu: python2-promise: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 23/27] gnu: pjproject: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 24/27] gnu: tdlib: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27
- bug#50299: [PATCH v2 25/27] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/09/27