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.
This commit is contained in:
Maxim Cournoyer 2023-04-11 21:35:54 -04:00
parent 15e6e7c8a0
commit 19d7ccb6ce
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -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"))