]> Cypherpunks repositories - gostls13.git/commitdiff
[dev.power64] cmd/objdump: disable tests on power64/power64le
authorDave Cheney <dave@cheney.net>
Sun, 2 Nov 2014 00:23:41 +0000 (11:23 +1100)
committerDave Cheney <dave@cheney.net>
Sun, 2 Nov 2014 00:23:41 +0000 (11:23 +1100)
LGTM=rsc, austin
R=austin, rsc, bradfitz
CC=golang-codereviews
https://golang.org/cl/164300043

src/cmd/objdump/objdump_test.go

index 0a2d2565a74db58758fd1755a5ab23b630fc2882..41f51ebf207f978355c3982c1958924d6a6f6f05 100644 (file)
@@ -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")
 }