guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/04: gnu: julia: Adjust libgit2 tests.


From: Ludovic Courtès
Subject: 02/04: gnu: julia: Adjust libgit2 tests.
Date: Tue, 6 Feb 2018 11:03:08 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit d40b5684c533e0188ffa213b20f2d3c88406d895
Author: Ludovic Courtès <address@hidden>
Date:   Tue Feb 6 14:14:13 2018 +0100

    gnu: julia: Adjust libgit2 tests.
    
    * gnu/packages/julia.scm (julia)[arguments] <'disable-broken-tests>:
    Patch libgit2.jl.
---
 gnu/packages/julia.scm | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gnu/packages/julia.scm b/gnu/packages/julia.scm
index f6df281..d958995 100644
--- a/gnu/packages/julia.scm
+++ b/gnu/packages/julia.scm
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]