From: Cherry Mui Date: Fri, 26 Sep 2025 13:38:23 +0000 (-0400) Subject: cmd/link: skip TestFlagW on AIX X-Git-Tag: go1.26rc1~772 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4631a2d3c6;p=gostls13.git cmd/link: skip TestFlagW on AIX The internal/xcoff can only parse XCOFF with symbol table. This test creates executables without symbol table. Skip the test. (It might be possible to make internal/xcoff work with binaries without symbol table? Leave it for the future.) Fixes #75618. Change-Id: I273ffefee5376d987accd5aa48c9473d2b3df055 Reviewed-on: https://go-review.googlesource.com/c/go/+/707095 Reviewed-by: David Chase Run-TryBot: Cherry Mui LUCI-TryBot-Result: Go LUCI TryBot-Result: Gopher Robot --- diff --git a/src/cmd/link/dwarf_test.go b/src/cmd/link/dwarf_test.go index 4ca578498d..6a60a746a5 100644 --- a/src/cmd/link/dwarf_test.go +++ b/src/cmd/link/dwarf_test.go @@ -361,6 +361,9 @@ func TestDWARFLocationList(t *testing.T) { func TestFlagW(t *testing.T) { testenv.MustHaveGoBuild(t) + if runtime.GOOS == "aix" { + t.Skip("internal/xcoff cannot parse file without symbol table") + } t.Parallel() tmpdir := t.TempDir()