guix-commits
[Top][All Lists]
Advanced

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

03/03: gnu: go-1.7: Skip test that fails due to time zone name change.


From: Leo Famulari
Subject: 03/03: gnu: go-1.7: Skip test that fails due to time zone name change.
Date: Fri, 21 Oct 2016 23:13:11 +0000 (UTC)

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

commit f08add0c5a3f1f7200b0a00e17ed880692d2244b
Author: Leo Famulari <address@hidden>
Date:   Fri Oct 21 16:31:37 2016 -0400

    gnu: go-1.7: Skip test that fails due to time zone name change.
    
    * gnu/packages/golang.scm (go-1.7)[arguments]: Skip test "TestLoadFixed" in
    'prebuild' phase.
---
 gnu/packages/golang.scm |   13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm
index 63e2186..9b81f69 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -282,7 +282,18 @@ sequential processes (CSP) concurrent programming features 
added.")
                     ("os/exec/exec_test.go" "(.+)(TestExtraFilesRace.+)")
                     ("net/lookup_test.go" "(.+)(TestLookupPort.+)")
                     ("syscall/exec_linux_test.go"
-                     
"(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")))
+                     "(.+)(TestCloneNEWUSERAndRemapNoRootDisableSetgroups.+)")
+                    ;; This test broke when tzdata updated to 2016g:
+                    ;; https://github.com/golang/go/issues/17276
+
+                    ;; Applying the upstream patch causes the failure of 
another
+                    ;; test, because that test requires upstream's mtimes to be
+                    ;; preserved, but applying the patch and re-packing the
+                    ;; tarball causes mtimes to be set to Unix epoch.
+                    ;; https://github.com/golang/go/issues/17535
+
+                    ;; TODO Try re-enabling this test for Go > 1.7.3.
+                    ("time/time_test.go" "(.+)(TestLoadFixed.+)")))
 
                  (substitute* "../misc/cgo/testsanitizers/test.bash"
                    (("(CC=)cc" all var) (string-append var "gcc")))



reply via email to

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