Skip to content

Commit

Permalink
Expand NativeAOT testing platforms (#73546)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichalStrehovsky authored Aug 11, 2022
1 parent b908ecf commit e65f224
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
3 changes: 2 additions & 1 deletion eng/pipelines/runtime-extra-platforms-other.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,11 @@ jobs:
- windows_arm64
- Linux_x64
- Linux_arm64
- Linux_musl_x64
jobParameters:
testGroup: innerloop
isSingleFile: true
nameSuffix: NativeAOT_Libs_Passing
nameSuffix: NativeAOT_Libs
buildArgs: -s clr.aot+libs+libs.tests -c $(_BuildConfig) /p:TestNativeAot=true /p:ArchiveTests=true
timeoutInMinutes: 240
# extra steps, run tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
<TargetFrameworks>$(NetCoreAppCurrent)-windows;$(NetCoreAppCurrent)-Unix</TargetFrameworks>
<EnablePreviewFeatures>true</EnablePreviewFeatures>
</PropertyGroup>
<ItemGroup>
<RdXmlFile Include="default.rd.xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="*.cs" />
</ItemGroup>
Expand Down
15 changes: 15 additions & 0 deletions src/libraries/System.Net.Quic/tests/FunctionalTests/default.rd.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<Directives>
<Application>
<Assembly Name="System.Linq">
<!-- called by xUnit in obscure MemberData scenarios -->
<Type Name="System.Linq.Enumerable">
<Method Name="Cast" Dynamic="Required All">
<GenericArgument Name="System.Net.Security.TlsCipherSuite,System.Net.Security" />
</Method>
<Method Name="ToArray" Dynamic="Required All">
<GenericArgument Name="System.Net.Security.TlsCipherSuite,System.Net.Security" />
</Method>
</Type>
</Assembly>
</Application>
</Directives>

0 comments on commit e65f224

Please sign in to comment.