cmd/objdump: skip cgo test in testGoAndCgoDisasm on AIX

Updates #40972.

Change-Id: Id2092f0bef4fb4bdc4178e7bc9730716136f7b8a
Reviewed-on: https://go-review.googlesource.com/c/go/+/249760
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
Alex Brainman 2020-08-22 12:06:24 +10:00
parent ea51acbabc
commit 13e41bcde8
1 changed files with 3 additions and 0 deletions

View File

@ -226,6 +226,9 @@ func testGoAndCgoDisasm(t *testing.T, printCode bool, printGnuAsm bool) {
t.Parallel()
testDisasm(t, "fmthello.go", printCode, printGnuAsm)
if build.Default.CgoEnabled {
if runtime.GOOS == "aix" {
t.Skipf("skipping on %s, issue 40972", runtime.GOOS)
}
testDisasm(t, "fmthellocgo.go", printCode, printGnuAsm)
}
}