From f08add0c5a3f1f7200b0a00e17ed880692d2244b Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Fri, 21 Oct 2016 16:31:37 -0400 Subject: 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 63e2186a28..9b81f69c5d 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"))) -- cgit 1.4.1