Fix StackAndOtherTests.script line number verification for .NET 11 and Windows x64

Open Beginner friendly
#5,884 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
65/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Domain
testing

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.

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.

Dominant language
C++
Stars
1.3k
Forks
403
Avg merge
2d 11m
Merged PRs (30d)
42

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet/diagnostics

All issues in dotnet/diagnostics

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.