From: Dave Cheney Date: Sun, 2 Nov 2014 00:23:41 +0000 (+1100) Subject: [dev.power64] cmd/objdump: disable tests on power64/power64le X-Git-Tag: go1.5beta1~2684^2~11^2~17 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=84f7ac98f7f187ce851b87d020bdc8efe6a15f1f;p=gostls13.git [dev.power64] cmd/objdump: disable tests on power64/power64le LGTM=rsc, austin R=austin, rsc, bradfitz CC=golang-codereviews https://golang.org/cl/164300043 --- diff --git a/src/cmd/objdump/objdump_test.go b/src/cmd/objdump/objdump_test.go index 0a2d2565a7..41f51ebf20 100644 --- a/src/cmd/objdump/objdump_test.go +++ b/src/cmd/objdump/objdump_test.go @@ -49,6 +49,10 @@ func runObjDump(t *testing.T, exe, startaddr, endaddr string) (path, lineno stri case "android", "nacl": t.Skipf("skipping on %s", runtime.GOOS) } + switch runtime.GOARCH { + case "power64", "power64le": + t.Skipf("skipping on %s, issue 9039", runtime.GOARCH) + } cmd := exec.Command(exe, os.Args[0], startaddr, endaddr) out, err := cmd.CombinedOutput() @@ -199,6 +203,10 @@ func testDisasm(t *testing.T, flags ...string) { } func TestDisasm(t *testing.T) { + switch runtime.GOARCH { + case "power64", "power64le": + t.Skipf("skipping on %s, issue 9039", runtime.GOARCH) + } testDisasm(t) } @@ -207,5 +215,9 @@ func TestDisasmExtld(t *testing.T) { case "plan9", "windows": t.Skipf("skipping on %s", runtime.GOOS) } + switch runtime.GOARCH { + case "power64", "power64le": + t.Skipf("skipping on %s, no support for external linking, issue 9038", runtime.GOARCH) + } testDisasm(t, "-ldflags=-linkmode=external") }