-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use DOTNET_ variables in tests #76997
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsRenamed
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsRenamed
|
Tagging subscribers to this area: @hoyosjs Issue DetailsRenamed
|
@ViktorHofer I used neutral infrastructure label as src/tests has tests for both runtimes, and DOTNET_ / COMPlus_ variables are handled by both with separate implementations (DOTNET_ is checked first and COMPlus is a legacy fallback, hence this PR). |
@am11 This is great. One concern I have is in superpmi - see below. I never updated this path because I wasn't sure all the scenarios and just haven't gotten back to it. @BruceForstall Can you provide some details on when the following is used? Does the JIT team use superpmi with the test suite that is being updated here? runtime/src/coreclr/tools/superpmi/superpmi/jithost.cpp Lines 10 to 46 in 6556178
|
Tagging subscribers to this area: @dotnet/runtime-infrastructure Issue DetailsRenamed
|
@AaronRobinsonMSFT, those are defined in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's nice to move everything to our current recommended format.
I worry about how we can properly test this. We could easily lose coverage and not notice it.
In addition, there are other places that set/use COMPlus variables, e.g., src\coreclr\scripts, https://github.com/dotnet/jitutils
src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj
Outdated
Show resolved
Hide resolved
src/tests/GC/Regressions/Github/Runtime_76219/Runtime_76219.csproj
Outdated
Show resolved
Hide resolved
Dotnet/diagnostics also has a bunch, but the docs in some cases may apply also to older runtimes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@AaronRobinsonMSFT Do you want to review? |
@BruceForstall, #77025 is merged, I have pushed superpmi scripts change here. Also, there were few redundant exports which I've cleaned up. Please take another look. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Additional changes LGTM; thanks for doing that.
Renamed
COMPlus_
toDOTNET_
under src/tests, except for configuration tests.