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:
		
							parent
							
								
									15e6e7c8a0
								
							
						
					
					
						commit
						19d7ccb6ce
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -3697,9 +3697,9 @@ Ruby Gems.")
 | 
				
			||||||
               (("/usr/bin/zip") (which "zip")))))
 | 
					               (("/usr/bin/zip") (which "zip")))))
 | 
				
			||||||
         (add-after 'patch-source-shebangs 'unpatch-some-source-shebangs
 | 
					         (add-after 'patch-source-shebangs 'unpatch-some-source-shebangs
 | 
				
			||||||
           (lambda _
 | 
					           (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
 | 
					             ;; 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.
 | 
					             ;; un-patched.
 | 
				
			||||||
             (substitute* (find-files "test/data" "\\.(txt|rb)$")
 | 
					             (substitute* (find-files "test/data" "\\.(txt|rb)$")
 | 
				
			||||||
               (((which "ruby"))
 | 
					               (((which "ruby"))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue