]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/objdump: skip cgo test in testGoAndCgoDisasm on AIX
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 22 Aug 2020 02:06:24 +0000 (12:06 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Sat, 22 Aug 2020 03:46:17 +0000 (03:46 +0000)
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>
src/cmd/objdump/objdump_test.go

index d9c1660ffd61d8acff1c2d85c128a67d79d5cd30..85d1a2efb0c52175fe2711e5af6571374392b8b7 100644 (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)
        }
 }