Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64
- Dominant language
- C++
- Stars
- 1.3k
- Forks
- 404
- Avg merge
- 2d 5h
- Merged PRs (30d)
- 35
Description
Some configurations report different line numbers for Foo4 in StackAndOtherTests.script verification:
- .NET 11 on Linux reports line 53 (AssemblyLoadContext.Default.LoadFromStream call)
- Windows x64 with certain PDB types report line 53
- Expected line is 57 (dllMethod.Invoke call)
The PR #5874 (cDAC bundling) widened the regex to `(53|57)` in 4 locations
Related: https://github.com/dotnet/diagnostics/pull/5740 - since this had tightened the lines before. @leculver - this is the highest hit rate test failure right now.
Contributor guide
No contributing guide indexed for this repository
Research direction
Open StackAndOtherTests.script and locate the four regex checks widened by PR #5874. Run the failing verification on the affected .NET/Linux and Windows x64 configurations, then confirm the checks accept the reported line numbers without masking an incorrect result.
Written by the indexing model from the issue text.
Assessment
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100