Enable previously suppressed tests on CoreCLR browser#130970
Open
radekdoulik wants to merge 11 commits into
Open
Enable previously suppressed tests on CoreCLR browser#130970radekdoulik wants to merge 11 commits into
radekdoulik wants to merge 11 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Keep the T4 source aligned with the generated xUnit entry point and ActiveIssue attributes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Keep the test enabled on CoreCLR desktop and browser while retaining suppression for Mono and NativeAOT. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
Move the reusable runtime classification to PlatformDetection and use it for the StackallocBlkTests ActiveIssue condition. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1dc3d8ec-ff97-4a7d-bfec-0f98ccd3db5f
|
Azure Pipelines: Successfully started running 4 pipeline(s). 11 pipeline(s) were filtered out due to trigger conditions. There may be pipelines that require an authorized user to comment /azp run to run. |
Contributor
|
Tagging subscribers to 'arch-wasm': @lewing, @pavelsavara |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR narrows a set of ActiveIssue suppression conditions so more runtime tests run on CoreCLR browser/wasm, while keeping suppressions for Mono / other configurations where they’re still needed.
Changes:
- Adjust
ActiveIssuepredicates in several JIT/GC/base-services tests to skip browser only on Mono (or skip interpreter only outside CoreCLR browser). - Add
PlatformDetection.IsCoreCLR/IsNotCoreCLRhelpers in the shared CoreCLR test library. - Update
Runtime_64125T4 template and synchronize its generated.csoutput.
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| src/tests/JIT/SIMD/Matrix4x4.cs | Refines interpreter skip condition to not suppress on CoreCLR browser. |
| src/tests/JIT/Regression/JitBlue/Runtime_64125/Runtime_64125.tt | Updates generated-test template to use xUnit + targeted ActiveIssue conditions. |
| src/tests/JIT/Regression/JitBlue/Runtime_64125/Runtime_64125.cs | Regenerated output to match template changes / updated skip conditions. |
| src/tests/JIT/opt/Vectorization/StackallocBlkTests.cs | Switches suppression to use new PlatformDetection.IsNotCoreCLR helper. |
| src/tests/JIT/Methodical/eh/interactions/switchinfinally.cs | Narrows browser suppression to Mono browser only. |
| src/tests/JIT/HardwareIntrinsics/General/HwiOp/HwiSideEffects.cs | Narrows browser suppression to Mono browser only. |
| src/tests/GC/Coverage/271010.cs | Changes suppression from “CoreCLR” to a custom predicate excluding browser. |
| src/tests/Common/CoreCLRTestLibrary/PlatformDetection.cs | Adds shared CoreCLR vs non-CoreCLR runtime detection helpers. |
| src/tests/baseservices/invalid_operations/ManagedPointers.cs | Splits browser suppression to Mono browser only (and keeps Apple mobile suppressed). |
| src/tests/baseservices/invalid_operations/Arrays.cs | Splits browser suppression to Mono browser only (and keeps Apple mobile suppressed). |
Use the shared CoreCLR runtime detection for GC 271010 and remove a redundant Apple mobile suppression from Runtime_64125. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1e841e19-0192-4e92-a86d-8b8a4ffca32d
lewing
reviewed
Jul 17, 2026
| private class TestClass { } | ||
|
|
||
| [ActiveIssue("Function mismatch", TestPlatforms.Browser | TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] | ||
| [ActiveIssue("Function mismatch", TestPlatforms.iOS | TestPlatforms.tvOS | TestPlatforms.MacCatalyst)] |
Member
There was a problem hiding this comment.
I'm curious. do these also pass on apple in coreclr?
maraf
approved these changes
Jul 17, 2026
| public static bool IsExceptionInteropSupported => IsWindows && !Utilities.IsNativeAot && !Utilities.IsMonoRuntime && !Utilities.IsCoreClrInterpreter; | ||
|
|
||
| public static bool IsMonoRuntime => Type.GetType("Mono.RuntimeStructs") != null; | ||
| public static bool IsCoreCLR => !IsMonoRuntime && Utilities.IsNotNativeAot; |
Member
There was a problem hiding this comment.
Is this how we treat CoreCLR vs NativeAOT in other places as well (that NativeAOT is not CoreCLR)? Or should we be more explicit in the naming?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Narrow several runtime-test
ActiveIssueconditions so tests that work with CoreCLR on browser/wasm are no longer suppressed.StackallocBlkTestssuppressed for Mono and NativeAOT while enabling it on CoreCLR desktop and browser.PlatformDetection.Runtime_64125T4 template with its generated source.Testing
./build.sh clr+libs -lc release -rc checked./build.sh -arch wasm -os browser -c Debug -subset clr+libsThe two broad-suite failures are unrelated upstream regressions:
TestConvertFromIntegralinJIT.IL_Conformanceb05617inJIT.Regression.Regression_7All executable tests affected by this change passed.
Note
This description was generated with GitHub Copilot.