guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/16: gnu: ruby-ffi-rzmq: Honor TESTS?.


From: guix-commits
Subject: 05/16: gnu: ruby-ffi-rzmq: Honor TESTS?.
Date: Fri, 11 Mar 2022 23:43:24 -0500 (EST)

apteryx pushed a commit to branch master
in repository guix.

commit 9dfbf92f5551e216f6bd8585a658e35a328fcdbd
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Fri Mar 4 13:01:07 2022 +0000

    gnu: ruby-ffi-rzmq: Honor TESTS?.
    
    * gnu/packages/ruby.scm (ruby-ffi-rzmq)[TESTS?]: Remove argument.
    [phases]{check}: Honor TESTS?.
    
    Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
 gnu/packages/ruby.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index c3c357d216..7481257625 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7372,11 +7372,11 @@ library.")
         (base32
          "14a5kxfnf8l3ngyk8hgmk30z07aj1324ll8i48z67ps6pz2kpsrg"))))
     (build-system ruby-build-system)
-    (arguments '(#:tests? #t
-                 #:phases (modify-phases %standard-phases
+    (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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]