Skip to content

Merge CoreMangLib test suite#122314

Merged
jkoritzinsky merged 12 commits intodotnet:mainfrom
jkoritzinsky:coremanglib-merge
Jan 5, 2026
Merged

Merge CoreMangLib test suite#122314
jkoritzinsky merged 12 commits intodotnet:mainfrom
jkoritzinsky:coremanglib-merge

Conversation

@jkoritzinsky
Copy link
Member

@jkoritzinsky jkoritzinsky commented Dec 8, 2025

These tests can all easily be part of one test project.

Removes 56 csproj files.

Copilot AI review requested due to automatic review settings December 8, 2025 22:27
@jkoritzinsky jkoritzinsky added test-enhancement Improvements of test source code area-Infrastructure labels Dec 8, 2025
@jkoritzinsky jkoritzinsky requested review from akoeplinger and removed request for Copilot December 8, 2025 22:27
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @dotnet/runtime-infrastructure
See info in area-owners.md if you want to be subscribed.

@jkoritzinsky jkoritzinsky requested a review from agocke December 9, 2025 23:28
…art version number instead of a semver version
Copilot AI review requested due to automatic review settings December 11, 2025 21:30
Copy link
Contributor

Copilot AI left a comment

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 consolidates the CoreMangLib test suite by merging 57 individual test projects into a single unified test project, significantly reducing build complexity and maintenance overhead.

Key changes:

  • Unified test project configuration in CoreMangLib.csproj that includes all C# test files and only IL projects
  • Added [OuterLoop] attributes to all test entry points to categorize long-running tests
  • Renamed generic class names (Program, TestClass) to unique names to avoid conflicts when merging
  • Moved Environment.Version test from CoreMangLib to System.Runtime.Extensions.Tests with improved version checking mechanism
  • Fixed thread cleanup issues in RefStructWithSpan.cs by adding proper termination signaling

Reviewed changes

Copilot reviewed 114 out of 114 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
CoreMangLib.csproj Modified to merge all test projects - now includes all C# files directly and only references IL projects
system/type/*.cs Added [OuterLoop] attributes and renamed TestClass to unique names to avoid conflicts
system/threading/interlocked/*.cs Added [OuterLoop] attributes to test entry points
system/span/SlowTailCallArgs.cs Renamed class from Program to SlowTailCallArgs, added conditional and platform-specific attributes
system/span/RefStructWithSpan.cs Fixed infinite loops in background threads by adding TestComplete flag and proper thread joining
system/runtime/interopservices/safehandle/*.cs Added [OuterLoop] attributes
system/runtime/interopservices/marshal/*.cs Added [OuterLoop] attributes
system/reflection/emit/DynMethodJumpStubTests.cs Replaced project-level conditions with conditional class attributes and platform-specific test attributes
system/multicastdelegate/*.cs Added [OuterLoop] attributes
system/environment/environment_version.cs Deleted - functionality moved to System.Runtime.Extensions.Tests
system/enum/*.cs Added [OuterLoop] attributes
system/delegate/regressions/**/*.cs Renamed Program to specific class names, added [OuterLoop] and conditional attributes
system/delegate/miscellaneous/*.cs Renamed generic class names, added [OuterLoop] attributes
system/delegate/generics/*.cs Added [OuterLoop] attributes
system/delegate/delegate/*.cs Renamed TestClass occurrences to unique names, added [OuterLoop] attributes
system/delegate/VSD/OpenDelegate.cs Renamed Program to OpenDelegate, added [OuterLoop] attribute
system/buffer/asurt_99893.cs Added [OuterLoop] attribute
System.Runtime.Extensions.Tests/EnvironmentTests.cs Modified Version_Valid test to use AppContext configuration for expected version
System.Runtime.Extensions.Tests.csproj Added RuntimeHostConfigurationOption to pass AssemblyVersion to tests
/*.csproj (57 files) Deleted - individual test projects consolidated into main CoreMangLib.csproj
ClosedStatic.reflect.xml Deleted - reflect configuration no longer needed in merged structure

@jkoritzinsky
Copy link
Member Author

/azp run runtime-coreclr outerloop

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jkoritzinsky
Copy link
Member Author

/ba-g outerloop failures are unrelated and tracked, but BA won't go green because the iOS job timed out weeks ago.

@jkoritzinsky jkoritzinsky enabled auto-merge (squash) January 5, 2026 22:23
@jkoritzinsky jkoritzinsky merged commit c404ba1 into dotnet:main Jan 5, 2026
151 of 168 checks passed
@jkoritzinsky jkoritzinsky deleted the coremanglib-merge branch January 5, 2026 22:24
@github-actions github-actions bot locked and limited conversation to collaborators Feb 5, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-Infrastructure test-enhancement Improvements of test source code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants