Skip to content

Wire up orphaned Runtime_129288 regression test#130836

Merged
tannergooding merged 1 commit into
dotnet:mainfrom
tannergooding:tannergooding-legendary-giggle
Jul 18, 2026
Merged

Wire up orphaned Runtime_129288 regression test#130836
tannergooding merged 1 commit into
dotnet:mainfrom
tannergooding:tannergooding-legendary-giggle

Conversation

@tannergooding

Copy link
Copy Markdown
Member

Runtime_129288.cs was added in #129348 (JIT: don't claim rotates set ZF on xarch) as a merged-style xunit test ([Fact] public static int TestEntryPoint()), but it was never referenced by any Regression_*.csproj. Since the SDK-style CLR test projects set EnableDefaultItems=false, an unreferenced .cs is silently never built or run -- so CI has never exercised this test. This is the same class of bug fixed in #130832.

Add it to Regression_ro_2.csproj (an Optimize=True bucket, correct for this lowering/codegen correctness test), inserted in numeric order alongside its neighbors.

I also audited every other .cs under src/tests/JIT/Regression/ for the same issue. The only genuine orphan was Runtime_129288. Six other unreferenced .cs files are intentionally uncompiled reference sources paired with a hand-written/generated .il + .ilproj (Runtime_70259, Runtime_70607, Runtime_73615, Runtime_80731, Runtime_40607, DevDiv_754566) and were left as-is.

Note

This PR description and the change were generated with the assistance of GitHub Copilot.

Runtime_129288.cs was added in dotnet#129348 as a merged-style xunit test but never referenced by any Regression_*.csproj, so CI never built or ran it. Add it to Regression_ro_2.csproj alongside its numeric neighbors.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 16, 2026 03:08
@github-actions github-actions Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 16, 2026
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 3 pipeline(s).
12 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service

Copy link
Copy Markdown
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the JIT Regression “merged” test project to include a previously unlisted test source file, ensuring the test is compiled into the assembly and executed by the merged test runner.

Changes:

  • Add JitBlue\Runtime_129288\Runtime_129288.cs to Regression_ro_2.csproj’s explicit <Compile Include=...> list (numeric-positioned among nearby tests).
Show a summary per file
File Description
src/tests/JIT/Regression/Regression_ro_2.csproj Adds an explicit <Compile Include> entry so Runtime_129288 is built and run as part of the merged regression bucket.

Copilot's findings

  • Files reviewed: 1/1 changed files
  • Comments generated: 0

@tannergooding

Copy link
Copy Markdown
Member Author

CC. @AndyAyersMS this regression test was added but never actually hooked up.

@tannergooding
tannergooding merged commit 4283614 into dotnet:main Jul 18, 2026
88 of 90 checks passed
@dotnet-milestone-bot dotnet-milestone-bot Bot added this to the 11.0-preview7 milestone Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants