Commit eb68c4af authored by Than McIntosh's avatar Than McIntosh

cmd/link: disable a DWARF testpoint on Windows pending investigation

Disable a portion of the TestDWARF testpoint for Windows using
c-archive buildmode, pending investigation of the issue at hand, so as
to get the longtest builder unblocked.

Updates #35512.

Change-Id: Ib72d82ceaa674b9a51da220fb8e225231d5c3433
Reviewed-on: https://go-review.googlesource.com/c/go/+/206557
Run-TryBot: Than McIntosh <thanm@google.com>
Reviewed-by: default avatarJeremy Faller <jeremy@golang.org>
parent c32aab31
......@@ -139,6 +139,13 @@ func testDWARF(t *testing.T, buildmode string, expectDWARF bool, env ...string)
}
}
// Until there is a fix for issue 35512, don't try to use
// SeekPC or look at the line table on Windows under
// c-archive build mode.
if buildmode == "c-archive" && runtime.GOOS == "windows" {
t.Skip("avoiding SeekPC until 35512 fixed")
}
// TODO: We'd like to use filepath.Join here.
// Also related: golang.org/issue/19784.
wantFile := path.Join(prog, "main.go")
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment