guix-commits
[Top][All Lists]
Advanced

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

13/15: gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.


From: guix-commits
Subject: 13/15: gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.
Date: Tue, 30 Aug 2022 03:02:12 -0400 (EDT)

mothacehe pushed a commit to branch master
in repository guix.

commit d8b960983da9aeeb9a69d73f446b89cef778f546
Author: Maxime Devos <maximedevos@telenet.be>
AuthorDate: Sun Aug 28 16:47:46 2022 +0200

    gnu: ruby-rubocop: Don't ask to run tests when cross-compiling.
    
    * gnu/packages/ruby.scm
    (ruby-rubocop)[arguments]{#:tests?}: When cross-compiling, set to #false.
    
    Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
---
 gnu/packages/ruby.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index a37a8dda24..d2c2a931a1 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7211,7 +7211,8 @@ run.")
     (arguments
      `(#:test-target "default"
        ;; TODO: Figure out why test hangs.
-       #:tests? ,(not (target-riscv64?))
+       #:tests? ,(not (or (%current-target-system)
+                          (target-riscv64?)))
        #:phases
        (modify-phases %standard-phases
          (add-before 'check 'set-home



reply via email to

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