Get more libraries tests running with NativeAOT (#72917)
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>
Fri, 29 Jul 2022 04:11:34 +0000 (13:11 +0900)
committerGitHub <noreply@github.com>
Fri, 29 Jul 2022 04:11:34 +0000 (13:11 +0900)
commit7d1e1af62e26ec040c452548fc0221249ac086d0
treeaf74e7ab9cb75aca6940e76913fab933500ca227
parent8294512d367099942b8c7ba6e1f51a671405faf3
Get more libraries tests running with NativeAOT (#72917)

* MetadataLoadContext tests need more work for single file testing in general. Filed a separate issue.
* S.R.Intrinsics is now clean. Running it on NativeAOT found good JIT bugs (#72081, #72158). Promoting to a smoke test.
* S.Drawing.Primitives was testing DataContractSerializer for whatever reason. Marked that as aggresive trimming incompatible. This wouldn't be covered by #72910.
* Made S.R.InteropServices.ComDisabled fully pass by fixing exceptions we throw.
* A couple tests won't ever make sense to run on NativeAOT so removed them from triage area.
eng/pipelines/runtime-extra-platforms-other.yml
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/InteropServices/ComWrappers.NativeAot.cs
src/coreclr/nativeaot/System.Private.CoreLib/src/System/Runtime/InteropServices/Marshal.Com.cs
src/libraries/System.Drawing.Primitives/tests/ColorTests.cs
src/libraries/System.Drawing.Primitives/tests/DataContractSerializerTests.cs
src/libraries/System.Runtime.InteropServices/tests/System.Runtime.InteropServices.ComDisabled.UnitTests/System/Runtime/InteropServices/Marshal/MarshalComDisabledTests.cs
src/libraries/tests.proj
src/tests/nativeaot/SmokeTests/ComWrappers/ComWrappers.cs