Skip to content
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

Make SkipOnCoreClr skip always when running in CoreCLR if no flags specified and cache values #4724

Merged
merged 2 commits into from
Jan 31, 2020

Conversation

safern
Copy link
Member

@safern safern commented Jan 30, 2020

Based on: dotnet/runtime#118 (comment) -- I'm changing SkipOnCoreClrAttribute to only skip on checked runtime if RuntimeStressTestModes.CheckedRuntime is passed down.

Default usage will skip in all versions of coreclr.

Also fixes: #4392

cc: @stephentoub @akoeplinger @jkotas

@@ -5,10 +5,8 @@ namespace Xunit
[Flags]
public enum RuntimeStressTestModes
Copy link
Member

Choose a reason for hiding this comment

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

Nit: Should this just be RuntimeTestModes? Then Any makes more sense, as it would include a "Release" if that were actually a named entry.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sounds good.

Copy link
Member

@stephentoub stephentoub left a comment

Choose a reason for hiding this comment

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

Thanks.

@safern
Copy link
Member Author

safern commented Jan 31, 2020

Will merge and prepare the necessary changes in dotnet/runtime.

@safern safern merged commit bdc8c2f into dotnet:master Jan 31, 2020
@safern safern deleted the SkipOnCoreClrCache branch January 31, 2020 21:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add caching of static values in SkipOnCoreClrAttribute.
2 participants