cmd/link: TestDWARF acting strangely with t.Parallel() #30429
Labels
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Testing
An issue that has been verified to require only test changes, not just a test failure.
Milestone
What version of Go are you using (
go version
)?master after this commit
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
TestDWARF "prog" variable is updated after t.Parallel() in t.Run() function. Therefore, TestDWARF/testprog is actually launching testprogcgo.
If you remove t.Parallel(), it doesn't occur anymore.
The text was updated successfully, but these errors were encountered: