-
Notifications
You must be signed in to change notification settings - Fork 5k
Disable newly added test on native AOT and drop RequiresProcessIsolation #112095
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
Conversation
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<CLRTestPriority>1</CLRTestPriority> | ||
<CLRTestTargetUnsupported Condition="'$(TargetOS)' != 'windows'">true</CLRTestTargetUnsupported> | ||
<!-- Testing a backwards compatibility quirk we don't officially support --> | ||
<NativeAotIncompatible>true</NativeAotIncompatible> | ||
</PropertyGroup> | ||
<PropertyGroup> |
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.
Btw, was this part intentional, or a random copypaste? Optimize=true
will make it so that we never run this tests without JIT optimizations enabled. The JIT team sometimes does things like this because they want mulitple variants (they have the _d, _ro, etc. variants).
This test doesn't have variants. This EH teste should ideally also work with optimizations disabled, right?
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.
I am confused - don't we need the RequiresProcessIsolation for the cases when there is a native part of the test built via cmake?
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.
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.
Ah, ok, then it is fine to remove.
/azp run runtime-outerloop |
No pipelines are associated with this pull request. |
/azp list |
/azp run runtime-coreclr outerloop |
Azure Pipelines successfully started running 1 pipeline(s). |
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, thank you!
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.
Copilot wasn't able to review any files in this pull request.
Files not reviewed (1)
- src/tests/Regressions/coreclr/GitHub_111242/Test111242.csproj: Language not supported
I ended up having to keep the RequiresProcessIsolation because the test started running and failing on Linux. Turns out process isolation is needed for CLRTestTargetUnsupported. I updated the comment to say that. |
CMakeProjectReference is not a reason to add RequiresProcessIsolation, I've been deleting those for a while (e.g. #111406).