Skip to content

Commit 92c984e

Browse files
committed
cmd/go: disable TestNoteReading on solaris, linux/ppc64le
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 <[email protected]>
1 parent f68d1df commit 92c984e

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/cmd/go/note_test.go

+8-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
package main_test
66

77
import (
8-
"cmd/go"
8+
main "cmd/go"
99
"runtime"
1010
"testing"
1111
)
@@ -24,11 +24,18 @@ func TestNoteReading(t *testing.T) {
2424
t.Fatalf("buildID in hello binary = %q, want %q", id, buildID)
2525
}
2626

27+
if runtime.GOOS == "linux" && runtime.GOARCH == "ppc64le" {
28+
t.Logf("skipping - golang.org/issue/11184")
29+
}
30+
2731
switch runtime.GOOS {
2832
case "plan9":
2933
// no external linking
3034
t.Logf("no external linking - skipping linkmode=external test")
3135

36+
case "solaris":
37+
t.Logf("skipping - golang.org/issue/12178")
38+
3239
default:
3340
tg.run("build", "-ldflags", "-buildid="+buildID+" -linkmode=external", "-o", tg.path("hello.exe"), tg.path("hello.go"))
3441
id, err := main.ReadBuildIDFromBinary(tg.path("hello.exe"))

0 commit comments

Comments
 (0)