diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-06-11 18:39:19 +0200 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2023-07-20 10:11:35 +0200 |
commit | 7ab9c0f99b8a2d0a30bb9b3bf43db2238245205a (patch) | |
tree | cfa8e2fb2865f48ee191f77629812f43ce3e098d | |
parent | fb6f94864d1c1b3a6c46f3b880b8a51003854f89 (diff) | |
download | guix-7ab9c0f99b8a2d0a30bb9b3bf43db2238245205a.tar.gz |
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'.
-rw-r--r-- | gnu/packages/ruby.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index b96daad0ff..e0dca646ac 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -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 @@ a focus on simplicity and productivity.") "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)))) |