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 |
BruceForstall
left a comment
There was a problem hiding this comment.
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. |
|
@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. :) |
BruceForstall
left a comment
There was a problem hiding this comment.
Additional changes LGTM; thanks for doing that.
Renamed
COMPlus_toDOTNET_under src/tests, except for configuration tests.