guix-commits
[Top][All Lists]
Advanced

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

01/01: gnu: address@hidden: Fix test failure.


From: Leo Famulari
Subject: 01/01: gnu: address@hidden: Fix test failure.
Date: Sat, 15 Jul 2017 16:14:49 -0400 (EDT)

lfam pushed a commit to branch core-updates
in repository guix.

commit eaca9ff07e4762c3d33e3090bab999c7cf74c98a
Author: Alex Vong <address@hidden>
Date:   Sun Jul 16 00:41:17 2017 +0800

    gnu: address@hidden: Fix test failure.
    
    * gnu/packages/golang.scm (go-1.8)[arguments]: Escape braces in test data in
    'prebuild' phase.
    
    Signed-off-by: Leo Famulari <address@hidden>
---
 gnu/packages/golang.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 70cae6d..e2d1abb 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2016, 2017 Petter <address@hidden>
 ;;; Copyright © 2016, 2017 Leo Famulari <address@hidden>
 ;;; Copyright © 2017 Sergei Trofimovich <address@hidden>
+;;; Copyright © 2017 Alex Vong <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -296,6 +297,13 @@ sequential processes (CSP) concurrent programming features 
added.")
                  (substitute* "../misc/cgo/testcarchive/carchive_test.go"
                    (("#!/usr/bin/env") (string-append "#!" (which "env"))))
 
+                 ;; Escape braces in test data to workaround test failure. For
+                 ;; more information:
+                 ;; https://github.com/golang/go/issues/20007
+                 ;; FIXME: remove this once we upgrade to 1.9
+                 (substitute* "cmd/vet/testdata/copylock_func.go"
+                   (("struct\\{lock sync.Mutex\\}") "struct\\{lock 
sync.Mutex\\}"))
+
                  (substitute* "net/lookup_unix.go"
                    (("/etc/protocols") (string-append net-base 
"/etc/protocols")))
                  (substitute* "net/port_unix.go"



reply via email to

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