Add compiler-generated code tests for NativeAot (#77457)
authorSven Boemer <sbomer@gmail.com>
Mon, 28 Nov 2022 22:43:55 +0000 (14:43 -0800)
committerGitHub <noreply@github.com>
Mon, 28 Nov 2022 22:43:55 +0000 (14:43 -0800)
commitebb461a4f42afa9e4aaebbbdcc9119416611b7bb
tree8cacd5b1ff6f4fd8a1e95dc605b977a289268d77
parent0eebd7369652b9c2fa6508ee4354ed85f944a0ea
Add compiler-generated code tests for NativeAot (#77457)

This adds the compiler-generated code tests from illink and enables them for NativeAot.

Includes fixes in the test infrastructure required to make some of the tests pass.
src/coreclr/tools/aot/Mono.Linker.Tests.Cases/Mono.Linker.Tests.Cases.csproj
src/coreclr/tools/aot/Mono.Linker.Tests.Cases/RequiresCapability/BasicRequires.cs
src/coreclr/tools/aot/Mono.Linker.Tests.Cases/RequiresCapability/RequiresInCompilerGeneratedCode.cs [new file with mode: 0644]
src/coreclr/tools/aot/Mono.Linker.Tests.Cases/RequiresCapability/RequiresInCompilerGeneratedCodeRelease.cs [new file with mode: 0644]
src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/ResultChecker.cs
src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs