Skip to content

cmd/link: new test TestFlagW is not applicable to platforms without DWARF #75585

@millerresearch

Description

@millerresearch

CL 703998 introduced cmd/link.TestFlagW which is only applicable to platforms with DWARF (as the commit message acknowledges), and therefore fails on Plan 9. Example failure is here:

--- FAIL: TestFlagW (54.37s)
--- FAIL: TestFlagW/-s_-w=0 (17.45s)
    dwarf_test.go:401: want binary with DWARF, got error no DWARF data in Plan 9 file
FAIL
FAIL	cmd/link	210.484s

The test should be conditional on internal/platform.ExecutableHasDWARF, like other DWARF tests in this module.

Metadata

Metadata

Labels

BugReportIssues describing a possible bug in the Go implementation.compiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions