From 19d7ccb6ce0d6688cb4a69aa58799cb0fe4e0d6b Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Tue, 11 Apr 2023 21:35:54 -0400 Subject: gnu: ruby-rubyzip: Re-instate all tests. * gnu/packages/ruby.scm (ruby-rubyzip) [arguments]: Do not patch ruby shebang in the patch-tests phase. Remove the disable-problematic-tests phase. Add the unpatch-some-source-shebangs phase. --- gnu/packages/ruby.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/ruby.scm') diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index 377317a993..834c0dfbd4 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -3697,9 +3697,9 @@ (define-public ruby-rubyzip (("/usr/bin/zip") (which "zip"))))) (add-after 'patch-source-shebangs 'unpatch-some-source-shebangs (lambda _ - ;; The test compare zipped files with data test files; since the + ;; The tests compare zipped files with data test files; since the ;; zip files do not have their shebangs patched, the data files - ;; compared to their extracted version must also be left + ;; compared with their extracted version must also be left ;; un-patched. (substitute* (find-files "test/data" "\\.(txt|rb)$") (((which "ruby")) -- cgit v1.2.3