Skip to content

Commit 41f7a7c

Browse files
authored
[tests] Add CoreCLR test variation. (#24209)
1 parent 88798e0 commit 41f7a7c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/common/test-variations.csproj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
<TestVariations Include="nativeaot" Description="Run with NativeAOT ('PublishAot=true' and '_IsPublishing=true')" />
99
<TestVariations Include="linksdk" Description="Run with trimmer (MtouchLink/LinkMode) set to 'SdkOnly'" />
1010
<TestVariations Include="linkall" Description="Run with trimmer (MtouchLink/LinkMode) set to 'Full'" />
11+
<TestVariations Include="coreclr" Description="Use CoreCLR ('UseMonoRuntime=false')" />
1112
</ItemGroup>
1213

1314
<PropertyGroup Condition="'$(TestVariation)' == 'interpreter'">
@@ -42,6 +43,10 @@
4243
<_IsPublishing>true</_IsPublishing>
4344
</PropertyGroup>
4445

46+
<PropertyGroup Condition="'$(TestVariation)' == 'coreclr'">
47+
<UseMonoRuntime>false</UseMonoRuntime>
48+
</PropertyGroup>
49+
4550
<Target Name="ValidateTestVariation" Condition="'$(TestVariation)' != '' And '$(OutputType)' == 'exe'" BeforeTargets="Build">
4651
<ItemGroup>
4752
<_FilteredTestVariations Include="@(TestVariations)" Condition="'%(Identity)' == '$(TestVariation)'" />

0 commit comments

Comments
 (0)