[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v3 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v3 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?. |
Date: |
Thu, 30 Sep 2021 00:47:45 +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 v3 01/27] lint: check-tests-true: Allow #:tests? #t for some build systems., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 03/27] gnu: lean: Add bash-minimal., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 04/27] gnu: swi-prolog: Move native-inputs to inputs where appropriate., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 05/27] gnu: swi-prolog: Don't explicitely enable tests., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 08/27] gnu: swi-prolog: Use cross-compiled bash in shebangs., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 06/27] gnu: swi-prolog: Make configuration wok when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 17/27] gnu: libicns: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 13/27] gnu: ruby-ffi-rzmq: Respect #:tests?.,
Maxime Devos <=
- bug#50299: [PATCH v3 15/27] gnu: ecl: Don't pretend to enable tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 21/27] gnu: lablgtk: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 20/27] gnu: ocaml4.07-fftw3: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 09/27] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 12/27] gnu: ruby-ffi-rzmq: Don't enable tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 23/27] gnu: pjproject: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 24/27] gnu: tdlib: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 25/27] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 02/27] gnu: lean: Set #:tests? appropriately when cross-compiling., Maxime Devos, 2021/09/29
- bug#50299: [PATCH v3 07/27] gnu: swi-prolog: Don't use 'cc'., Maxime Devos, 2021/09/29