Skip to content

Conversation

kg
Copy link
Member

@kg kg commented Sep 24, 2025

Right now the Interop suite does not finish executing due to various crashes in the interpreter. This PR disables all the tests that are broken due to known interpreter limitations we have no plans to fix.

One test is still broken and has been added to the list in #118618 along with an Interpreter-FIXME comment at the broken place in the test.

@Copilot Copilot AI review requested due to automatic review settings September 24, 2025 21:55
@kg kg added NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) area-CodeGen-Interpreter-coreclr labels Sep 24, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds test skipping logic for interpreter mode in the .NET runtime test suite. It introduces a new InterpreterActive runtime test mode and applies skip attributes to various interop and COM-related tests that are incompatible with interpreter execution.

  • Adds InterpreterActive runtime test mode detection and skipping infrastructure
  • Applies skip attributes to tests that depend on marshalled calli, varargs, or COM interop features
  • Updates XUnit package versions to support the new test skipping functionality

Reviewed Changes

Copilot reviewed 19 out of 19 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/tests/Common/XUnitWrapperGenerator/RuntimeTestModes.cs Adds new InterpreterActive enum value for runtime test mode detection
src/tests/Common/CoreCLRTestLibrary/CoreClrConfigurationDetection.cs Implements detection logic for interpreter mode using environment variables
src/tests/Common/XUnitWrapperGenerator/XUnitWrapperGenerator.cs Adds condition generation for skipping tests when interpreter is active
Various test files Applies SkipOnCoreClrAttribute with interpreter-specific skip reasons to incompatible tests
eng/Version.Details.xml and eng/Version.Details.props Updates XUnit package versions to support new test skipping functionality

Copy link
Contributor

Tagging subscribers to this area: @BrzVlad, @janvorli, @kg
See info in area-owners.md if you want to be subscribed.

@kg kg changed the title Interp interop suite 2 [interp] Disable tests in the interop suite so that it can complete executing Sep 25, 2025
@kg
Copy link
Member Author

kg commented Sep 25, 2025

I have added some of the test failures from the Interop suite to #118618

@kg
Copy link
Member Author

kg commented Sep 29, 2025

Down to 3 merged test failures and 0 independent test failures, by my local measure. Only noticed the merged ones now that the others are gone.

@kg kg force-pushed the interp-interop-suite-2 branch 2 times, most recently from 19ece5f to c6ddef1 Compare October 1, 2025 20:55
@kg kg removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Oct 1, 2025
@kg kg requested review from Copilot, janvorli and jkotas October 1, 2025 20:57
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 25 out of 25 changed files in this pull request and generated 3 comments.

@kg kg added the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Oct 1, 2025
@kg
Copy link
Member Author

kg commented Oct 1, 2025

Marking as no-merge until requested changes flow from arcade

@kg kg force-pushed the interp-interop-suite-2 branch from 785d0fc to f0ed28e Compare October 6, 2025 16:28
@kg kg removed the NO-MERGE The PR is not ready for merge yet (see discussion for detailed reasons) label Oct 6, 2025
@janvorli janvorli merged commit ed6a009 into dotnet:main Oct 8, 2025
75 of 77 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants