mirror of
https://github.com/golang/go.git
synced 2025-10-19 11:03:18 +00:00
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 <drchase@google.com> Run-TryBot: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> TryBot-Result: Gopher Robot <gobot@golang.org>
This commit is contained in:
parent
0f31d742cd
commit
4631a2d3c6
1 changed files with 3 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue