summary refs log tree commit diff
path: root/gnu/packages/ruby.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2022-10-24 18:33:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2022-10-24 18:33:06 +0300
commit24937913fe2914b964e2497074ef39b9b2886a5d (patch)
tree3d6f6767ba7ef8d446e360f88cbaa5ce400ee58e /gnu/packages/ruby.scm
parent092f400c41aed4dec976f3acc3829f9218305ad5 (diff)
downloadguix-24937913fe2914b964e2497074ef39b9b2886a5d.tar.gz
gnu: ruby-ruby-prof: Skip tests on i686-linux.
* gnu/packages/ruby.scm (ruby-ruby-prof)[arguments]: Skip the tests when
cross-compiling or when targeting i686-linux.
Diffstat (limited to 'gnu/packages/ruby.scm')
-rw-r--r--gnu/packages/ruby.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 0fda93fd59..102b206f31 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -7668,7 +7668,10 @@ variable length integers (varint) in Ruby Protocol Buffers.")
          "1r3xalp91l07m0cwllcxjzg6nkviiqnxkcbgg5qnzsdji6rgy65m"))))
     (build-system ruby-build-system)
     (arguments
-     `(#:phases
+      ;; It is unclear why the tests fail on i686-linux
+     `(#:tests? ,(not (or (%current-target-system)
+                          (target-x86-32?)))
+       #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-rakefile
            ;; This fixes the following error: "NameError: uninitialized