gnu: julia: Adjust libgit2 tests.

* gnu/packages/julia.scm (julia)[arguments] <'disable-broken-tests>:
Patch libgit2.jl.
This commit is contained in:
Ludovic Courtès 2018-02-06 14:14:13 +01:00
parent 4e847986bc
commit d40b5684c5
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -228,6 +228,12 @@ (define-public julia
#t)) #t))
(add-before 'check 'disable-broken-tests (add-before 'check 'disable-broken-tests
(lambda _ (lambda _
;; Adjust expected error messages to match what current libgit2
;; provides.
(substitute* "test/libgit2.jl"
(("Invalid Content-Type") "invalid Content-Type")
(("Failed to resolve path") "failed to resolve path"))
(substitute* "test/choosetests.jl" (substitute* "test/choosetests.jl"
;; These tests fail, probably because some of the input ;; These tests fail, probably because some of the input
;; binaries have been stripped and thus backtraces don't look ;; binaries have been stripped and thus backtraces don't look