Repository navigation
Fix all outstanding S.Linq.Expressions failures - #72077
Merged
Merged
Conversation
Product fixes: * Don't try to be helpful in the exception when `MakeGeneric*` constraint validation fails. CoreCLR is not helpful and S.Linq.Expressions is testing for it. * We need to inject delegate `Invoke` method dependencies elsewhere. A test looking to reflection-invoke the `Invoke` method was failing with `MissingMetadataException` but we have no right to be failing on that per policy. Test fixes: * Consider NativeAOT always trimmed. We could potentially do what Mono is doing, but we currently don't support substitution files (only embedded substitutions), and NativeAOT will always be trimmed. * Mark a test that is fundamentally incompatible (and pointless) with trimming as such. * Add a bunch of RD.XML. Fixes dotnet#69944. Fixes dotnet#69928. Fixes dotnet#69943.
MichalStrehovsky
added a commit
that referenced
this pull request
Jul 14, 2022
Saw this test timeout in #72077. This should decrease the amount of work done by the test by 25%. It is the longest test in DynamicGenerics. It was only recently enabled. ``` Running Test: ThreadLocalStatics.TLSTesting.ThreadLocalStatics_Test cmdLine:D:\a\_work\1\s\artifacts\tests\coreclr\windows.x64.Debug\nativeaot\SmokeTests\DynamicGenerics\DynamicGenerics\DynamicGenerics.cmd Timed Out (timeout in milliseconds: 1800000 from variable __TestTimeout, start: 7/13/2022 7:46:11 AM, end: 7/13/2022 8:16:11 AM) Test Harness Exitcode is : -100 ```
MichalStrehovsky
added a commit
that referenced
this pull request
Jul 14, 2022
Saw this test timeout in #72077. This should decrease the amount of work done by the test by 25%. It is the longest test in DynamicGenerics. It was only recently enabled. ``` Running Test: ThreadLocalStatics.TLSTesting.ThreadLocalStatics_Test cmdLine:D:\a\_work\1\s\artifacts\tests\coreclr\windows.x64.Debug\nativeaot\SmokeTests\DynamicGenerics\DynamicGenerics\DynamicGenerics.cmd Timed Out (timeout in milliseconds: 1800000 from variable __TestTimeout, start: 7/13/2022 7:46:11 AM, end: 7/13/2022 8:16:11 AM) Test Harness Exitcode is : -100 ```
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Product fixes:
MakeGeneric*constraint validation fails. CoreCLR is not helpful and S.Linq.Expressions is testing for it.Invokemethod dependencies elsewhere. A test looking to reflection-invoke theInvokemethod was failing withMissingMetadataExceptionbut we have no right to be failing on that per policy.Test fixes:
Fixes #69944. Fixes #69928. Fixes #69943.
Cc @dotnet/ilc-contrib