mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.power64] cmd/objdump: disable tests on power64/power64le
LGTM=rsc, austin R=austin, rsc, bradfitz CC=golang-codereviews https://golang.org/cl/164300043
This commit is contained in:
parent
e1db508ffd
commit
84f7ac98f7
1 changed files with 12 additions and 0 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue