gnu: ruby-2.6: Skip test on the Hurd.

* gnu/packages/ruby.scm (ruby-2.7)[arguments]: When building natively on the
Hurd, add phase 'skip-tests'.
This commit is contained in:
Janneke Nieuwenhuizen 2023-06-11 18:39:19 +02:00
parent fb6f94864d
commit 7ab9c0f99b
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -33,6 +33,7 @@
;;; Copyright © 2022 Taiju HIGASHI <higashi@taiju.info>
;;; Copyright © 2023 Yovan Naumovski <yovan@gorski.stream>
;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com>
;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@ -195,7 +196,13 @@ (define-public ruby-2.7
"test/ruby/test_system.rb"
"tool/rbinstall.rb")
(("/bin/sh") (which "sh")))
#t)))))
#t))
,@(if (system-hurd?)
'((add-after 'unpack 'skip-tests
(lambda _
(delete-file "bootstraptest/test_io.rb")
(delete-file "test/ruby/test_io.rb"))))
'()))))
(native-inputs
(list autoconf))))