janneke pushed a commit to branch hurd-team
in repository guix.
commit f37a195f2303c21ad70a69aa6911a422a54a506b
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Sun Jun 11 18:39:19 2023 +0200
gnu: ruby-2.6: Skip test for the Hurd.
* gnu/packages/ruby.scm (ruby-2.7)[arguments]: When building for the Hurd,
add
phase 'skip-tests'.
---
gnu/packages/ruby.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index f28ad97e11..5a342a9905 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -33,6 +33,7 @@
;;; Copyright © 2022 Taiju HIGASHI <[email protected]>
;;; Copyright © 2023 Yovan Naumovski <[email protected]>
;;; Copyright © 2023 gemmaro <[email protected]>
+;;; Copyright © 2023 Janneke Nieuwenhuizen <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -195,7 +196,13 @@ a focus on simplicity and productivity.")
"test/ruby/test_system.rb"
"tool/rbinstall.rb")
(("/bin/sh") (which "sh")))
- #t)))))
+ #t))
+ ,@(if (target-hurd?)
+ '((add-after 'unpack 'skip-tests
+ (lambda _
+ (delete-file "bootstraptest/test_io.rb")
+ (delete-file "test/ruby/test_io.rb"))))
+ '()))))
(native-inputs
(list autoconf))))