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

[NativeAOT] Disable unsupported scenario tests in hardware intrinsics test template #110293

Open
jkotas opened this issue Dec 1, 2024 · 1 comment
Labels
area-NativeAOT-coreclr disabled-test The test is disabled in source code against the issue untriaged New issue has not been triaged by the area owner

Comments

@jkotas
Copy link
Member

jkotas commented Dec 1, 2024

Illegal use of hardware intrinsics does not throw catchable PlatformNotSupportedExceptions in NativeAOT. Instead, NativeAOT failfasts in this situation for performance (and security) reasons.

Tests that expect catchable PlatformNotSupportedExceptions to be thrown for invalid use of hardware intrinsics should be updated to account for this behavior:

  • ThrowsPlatformNotSupportedExceptionForIllegalInstruction to PlatformDetection.cs
  • Condition tests that expect catchable PlatformNotSupportedException to be thrown for illegal instructions on this property

See #110250 for more context.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Dec 1, 2024
Copy link
Contributor

Tagging subscribers to this area: @agocke, @MichalStrehovsky, @jkotas
See info in area-owners.md if you want to be subscribed.

@jkotas jkotas added the disabled-test The test is disabled in source code against the issue label Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr disabled-test The test is disabled in source code against the issue untriaged New issue has not been triaged by the area owner
Projects
Status: No status
Development

No branches or pull requests

1 participant