]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: disable TestNoteReading on solaris, linux/ppc64le
authorRuss Cox <rsc@golang.org>
Tue, 18 Aug 2015 14:59:30 +0000 (10:59 -0400)
committerRuss Cox <rsc@golang.org>
Tue, 18 Aug 2015 15:25:19 +0000 (15:25 +0000)
Update #11184 (linux/ppc64).
Filed #12178 (solaris) for Go 1.6.

Change-Id: I9e3a456aaccb49590ad4e14b53ddfefca5b0801c
Reviewed-on: https://go-review.googlesource.com/13679
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/go/note_test.go

index cbb3db8a17b88c427245503ece7c68f88fed264d..74097119c9b1c5cf29cb186f97621f737aa7b41f 100644 (file)
@@ -5,7 +5,7 @@
 package main_test
 
 import (
-       "cmd/go"
+       main "cmd/go"
        "runtime"
        "testing"
 )
@@ -24,11 +24,18 @@ func TestNoteReading(t *testing.T) {
                t.Fatalf("buildID in hello binary = %q, want %q", id, buildID)
        }
 
+       if runtime.GOOS == "linux" && runtime.GOARCH == "ppc64le" {
+               t.Logf("skipping - golang.org/issue/11184")
+       }
+
        switch runtime.GOOS {
        case "plan9":
                // no external linking
                t.Logf("no external linking - skipping linkmode=external test")
 
+       case "solaris":
+               t.Logf("skipping - golang.org/issue/12178")
+
        default:
                tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello.exe"), tg.path("hello.go"))
                id, err := main.ReadBuildIDFromBinary(tg.path("hello.exe"))