[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#50299: [PATCH v4 13/25] gnu: ruby-ffi-rzmq: Respect #:tests?.
From: |
Maxime Devos |
Subject: |
bug#50299: [PATCH v4 13/25] gnu: ruby-ffi-rzmq: Respect #:tests?. |
Date: |
Fri, 31 Dec 2021 12:14:55 +0000 |
* 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 be773c7a61..a94270ecfa 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7351,8 +7351,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
(list ruby-rspec))
(propagated-inputs
--
2.30.2
- bug#50299: [PATCH v4 00/25] Fix 'check-tests-true' linter and some packages, Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 05/25] gnu: swi-prolog: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 17/25] gnu: libicns: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 15/25] gnu: ecl: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 09/25] gnu: swi-prolog: Set PROG_SWIPL when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 13/25] gnu: ruby-ffi-rzmq: Respect #:tests?.,
Maxime Devos <=
- bug#50299: [PATCH v4 16/25] gnu: perl-unicode-utf8: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 22/25] gnu: pjproject: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 21/25] gnu: belcard: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 01/25] lint: check-tests-true: Allow #:tests? #t for some build systems., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 11/25] gnu: ruby-yard-with-tests: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 18/25] gnu: python2-empy: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 20/25] gnu: lablgtk: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 19/25] gnu: python2-promise: Run tests conditionally., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 25/25] gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31
- bug#50299: [PATCH v4 24/25] gnu: extra-cmake-modules: Don't run tests when cross-compiling., Maxime Devos, 2021/12/31