Skip to content

Conversation

@AntonLapounov
Copy link
Member

Unset COMPlus_GCName, COMPlus_GCStress, COMPlus_HeapVerify, and COMPlus_ReadyToRun environment variables before running crossgen2 for mainv1, mainv2, and BasicTestWithMcj tests as we already do for other tests. Use setlocal / endlocal and export -n / export commands to simplify saving and restoring original variable values.

Fixes #54203. @dotnet/crossgen-contrib

<CLRTestPriority>0</CLRTestPriority>
<CLRTestTargetUnsupported Condition="'$(RuntimeFlavor)' != 'coreclr'">true</CLRTestTargetUnsupported>
<!-- See https://github.com/dotnet/runtime/issues/50704 -->
<GCStressIncompatible>true</GCStressIncompatible>
Copy link
Member Author

Choose a reason for hiding this comment

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

This test should pass after #56770 disabled propagating COMPlus_GCStress environment variable to crossgen2.

Copy link
Member

@trylek trylek left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing!

@AntonLapounov AntonLapounov merged commit fec5f22 into dotnet:main Aug 9, 2021
@AntonLapounov AntonLapounov deleted the DoNotRunCrossgen2UnderGCStress branch August 9, 2021 17:50
@ghost ghost locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Test failure readytorun/tests/mainv1/mainv1, mainv2, BasicTestWithMcj.sh

2 participants