~ruther/guix-local

19d7ccb6ce0d6688cb4a69aa58799cb0fe4e0d6b — Maxim Cournoyer 3 years ago 15e6e7c
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.
1 files changed, 2 insertions(+), 2 deletions(-)

M gnu/packages/ruby.scm
M gnu/packages/ruby.scm => gnu/packages/ruby.scm +2 -2
@@ 3697,9 3697,9 @@ Ruby Gems.")
               (("/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"))