- 
                Notifications
    You must be signed in to change notification settings 
- Fork 5.2k
[interp] Disable tests in the interop suite so that it can complete executing #120074
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
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.
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 InterpreterActiveruntime 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 InterpreterActiveenum 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 SkipOnCoreClrAttributewith interpreter-specific skip reasons to incompatible tests | 
| eng/Version.Details.xmlandeng/Version.Details.props | Updates XUnit package versions to support new test skipping functionality | 
        
          
                src/tests/Common/CoreCLRTestLibrary/CoreClrConfigurationDetection.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | Tagging subscribers to this area: @BrzVlad, @janvorli, @kg | 
| I have added some of the test failures from the Interop suite to #118618 | 
4410275    to
    33df749      
    Compare
  
    33df749    to
    ffef0f3      
    Compare
  
    | 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. | 
19ece5f    to
    c6ddef1      
    Compare
  
    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.
Pull Request Overview
Copilot reviewed 25 out of 25 changed files in this pull request and generated 3 comments.
        
          
                src/tests/Common/CoreCLRTestLibrary/CoreClrConfigurationDetection.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
              
          
                src/tests/Interop/UnmanagedCallersOnly/UnmanagedCallersOnlyTest.cs
              
                Outdated
          
            Show resolved
            Hide resolved
        
      | Marking as no-merge until requested changes flow from arcade | 
Add an interpreter-fixme comment in a test that's failing
785d0fc    to
    f0ed28e      
    Compare
  
    
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.