gnu: julia: Adjust libgit2 tests.

* gnu/packages/julia.scm (julia)[arguments] <'disable-broken-tests>:
Patch libgit2.jl.
master
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
1 changed files with 6 additions and 0 deletions

View File

@ -228,6 +228,12 @@
#t))
(add-before 'check 'disable-broken-tests
(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"
;; These tests fail, probably because some of the input
;; binaries have been stripped and thus backtraces don't look