Skip to content

Convert JIT/opt to a merged test group - #85850

Merged
markples merged 19 commits into
dotnet:mainfrom
markples:JIT/opt
May 12, 2023
Merged

Convert JIT/opt to a merged test group#85850
markples merged 19 commits into
dotnet:mainfrom
markples:JIT/opt

Conversation

@markples

@markplesmarkples commented May 5, 2023

Copy link
Copy Markdown
Contributor

See https://github.com/markples/utils/tree/for-PR-dotnet-runtime-85847-others for ILTransform tool. As usual, I recommend viewing the commit list since it partitions the changes in a more readable way and paying more attention to manual changes.

In this group, I was a bit more aggressive in converting individual tests in [Fact]s and [Theory]s when needing to make manual changes. This required a change to the wrapper generator (see my comment there).

  • outerloop, extra-platforms, gcstress

@ghost

ghost commented May 5, 2023

Copy link
Copy Markdown

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

Issue Details

See https://github.com/markples/utils/tree/for-PR-dotnet-runtime-85847-others for ILTransform tool. As usual, I recommend viewing the commit list since it partitions the changes in a more readable way.

Author:markples
Assignees:markples
Labels:

area-System.Reflection.Metadata

Milestone:-

@markplesmarkples added test-enhancement Improvements of test source code area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI and removed area-System.Reflection.Metadata labels May 5, 2023
@ghost

ghost commented May 5, 2023

Copy link
Copy Markdown

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

Issue Details

See https://github.com/markples/utils/tree/for-PR-dotnet-runtime-85847-others for ILTransform tool. As usual, I recommend viewing the commit list since it partitions the changes in a more readable way.

Author:markples
Assignees:markples
Labels:

test-enhancement, area-CodeGen-coreclr

Milestone:-

@markples

Copy link
Copy Markdown
ContributorAuthor

/azp run runtime-coreclr outerloop, runtime-extra-platforms, runtime-coreclr gcstress0x3-gcstress0xc

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 3 pipeline(s).

continue;
}
var argsAsCode = ImmutableArray.CreateRange(args.Select(a => a.ToCSharpString()));
var argsAsCode = ImmutableArray.CreateRange(args.Select(a => a.ToCSharpString() + (a.Type!.SpecialType == SpecialType.System_Single ? "F" : "")));

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Without this change, a float constant in [InlineData] leads to a build failure when trying to pass a double constant for a float parameter. This isn't a great or complete solution, but I couldn't find a good public entry point in Roslyn to do this correctly, and float cases do not work at all currently.

@markples
markples marked this pull request as ready for review May 12, 2023 11:38
@markples

Copy link
Copy Markdown
ContributorAuthor

This is ready @trylek @dotnet/jit-contrib

@trylektrylek left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks great to me, thanks Mark!

@markples
markples merged commit 2c31cd7 into dotnet:mainMay 12, 2023
@markplesmarkples mentioned this pull request May 12, 2023
@ghostghost locked as resolved and limited conversation to collaborators Jun 11, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMItest-enhancementImprovements of test source code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@markples@trylek