Skip to content

Commit dd30ce7

Browse files
committed
More tests
1 parent 943894b commit dd30ce7

File tree

64 files changed

+230
-830
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

64 files changed

+230
-830
lines changed

src/tests/JIT/Directed/IL/Tailcall/ExplicitTailCallNoSO.ilproj

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,8 @@
99
</PropertyGroup>
1010
<ItemGroup>
1111
<Compile Include="ExplicitTailCallNoSO.il" />
12+
13+
<CLRTestEnvironmentVariable Include="COMPlus_TC_QuickJit" Value="1" />
14+
<CLRTestEnvironmentVariable Include="COMPlus_TC_QuickJitForLoops" Value="1" />
1215
</ItemGroup>
13-
<PropertyGroup>
14-
<CLRTestBatchPreCommands><![CDATA[
15-
$(CLRTestBatchPreCommands)
16-
set COMPlus_TC_QuickJit=1
17-
set COMPlus_TC_QuickJitForLoops=1
18-
]]></CLRTestBatchPreCommands>
19-
<BashCLRTestPreCommands><![CDATA[
20-
$(BashCLRTestPreCommands)
21-
export COMPlus_TC_QuickJit=1
22-
export COMPlus_TC_QuickJitForLoops=1
23-
]]></BashCLRTestPreCommands>
24-
</PropertyGroup>
2516
</Project>

src/tests/JIT/Directed/LoopAlignment/LoopsToProcess.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,10 @@
55
</PropertyGroup>
66
<PropertyGroup>
77
<Optimize>True</Optimize>
8-
</PropertyGroup>
9-
<PropertyGroup>
10-
<CLRTestBatchPreCommands><![CDATA[
11-
$(CLRTestBatchPreCommands)
12-
set COMPlus_JitAggressiveInlining=1
13-
]]></CLRTestBatchPreCommands>
14-
<BashCLRTestPreCommands><![CDATA[
15-
$(BashCLRTestPreCommands)
16-
export COMPlus_JitAggressiveInlining=1
17-
]]></BashCLRTestPreCommands>
188
</PropertyGroup>
199
<ItemGroup>
2010
<Compile Include="LoopsToProcess.cs" />
11+
12+
<CLRTestEnvironmentVariable Include="COMPlus_JitAggressiveInlining" Value="1" />
2113
</ItemGroup>
2214
</Project>

src/tests/JIT/Directed/coverage/flowgraph/gcpoll.csproj

Lines changed: 3 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,11 @@
55
<PropertyGroup>
66
<DebugType>None</DebugType>
77
<Optimize>True</Optimize>
8-
</PropertyGroup>
9-
<PropertyGroup>
10-
<CLRTestBatchPreCommands><![CDATA[
11-
$(CLRTestBatchPreCommands)
12-
set COMPlus_JitDoAssertionProp=0
13-
set COMPlus_JitNoCSE=1
14-
]]></CLRTestBatchPreCommands>
15-
<BashCLRTestPreCommands><![CDATA[
16-
$(BashCLRTestPreCommands)
17-
export COMPlus_JitDoAssertionProp=0
18-
export COMPlus_JitNoCSE=1
19-
]]></BashCLRTestPreCommands>
208
</PropertyGroup>
219
<ItemGroup>
2210
<Compile Include="$(MSBuildProjectName).cs" />
11+
12+
<CLRTestEnvironmentVariable Include="COMPlus_JitDoAssertionProp" Value="0" />
13+
<CLRTestEnvironmentVariable Include="COMPlus_JitNoCSE" Value="1" />
2314
</ItemGroup>
2415
</Project>

src/tests/JIT/Directed/tailcall/more_tailcalls.ilproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,7 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<Compile Include="$(MSBuildProjectName).il" />
11+
12+
<CLRTestEnvironmentVariable Include="COMPlus_JitStressModeNamesNot" Value="STRESS_UNSAFE_BUFFER_CHECKS" />
1113
</ItemGroup>
12-
<PropertyGroup>
13-
<CLRTestBatchPreCommands><![CDATA[
14-
$(CLRTestBatchPreCommands)
15-
set COMPlus_JitStressModeNamesNot=STRESS_UNSAFE_BUFFER_CHECKS
16-
]]></CLRTestBatchPreCommands>
17-
<BashCLRTestPreCommands><![CDATA[
18-
$(BashCLRTestPreCommands)
19-
export COMPlus_JitStressModeNamesNot=STRESS_UNSAFE_BUFFER_CHECKS
20-
]]></BashCLRTestPreCommands>
21-
</PropertyGroup>
2214
</Project>

src/tests/JIT/Directed/tailcall/tailcall.ilproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,7 @@
88
</PropertyGroup>
99
<ItemGroup>
1010
<Compile Include="$(MSBuildProjectName).il" />
11+
12+
<CLRTestEnvironmentVariable Include="COMPlus_JitStressModeNamesNot" Value="STRESS_UNSAFE_BUFFER_CHECKS" />
1113
</ItemGroup>
12-
<PropertyGroup>
13-
<CLRTestBatchPreCommands><![CDATA[
14-
$(CLRTestBatchPreCommands)
15-
set COMPlus_JitStressModeNamesNot=STRESS_UNSAFE_BUFFER_CHECKS
16-
]]></CLRTestBatchPreCommands>
17-
<BashCLRTestPreCommands><![CDATA[
18-
$(BashCLRTestPreCommands)
19-
export COMPlus_JitStressModeNamesNot=STRESS_UNSAFE_BUFFER_CHECKS
20-
]]></BashCLRTestPreCommands>
21-
</PropertyGroup>
2214
</Project>

src/tests/JIT/Methodical/doublearray/dblarray4_cs_d.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="dblarray4.cs" />
13+
14+
<CLRTestEnvironmentVariable Include="COMPlus_DoubleArrayToLargeObjectHeap" Value="0x64" />
1315
</ItemGroup>
14-
<PropertyGroup>
15-
<CLRTestBatchPreCommands><![CDATA[
16-
$(CLRTestBatchPreCommands)
17-
set COMPlus_DoubleArrayToLargeObjectHeap=0x64
18-
]]></CLRTestBatchPreCommands>
19-
<BashCLRTestPreCommands><![CDATA[
20-
$(BashCLRTestPreCommands)
21-
export COMPlus_DoubleArrayToLargeObjectHeap=0x64
22-
]]></BashCLRTestPreCommands>
23-
</PropertyGroup>
2416
</Project>

src/tests/JIT/Methodical/doublearray/dblarray4_cs_do.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="dblarray4.cs" />
13+
14+
<CLRTestEnvironmentVariable Include="COMPlus_DoubleArrayToLargeObjectHeap" Value="0x64" />
1315
</ItemGroup>
14-
<PropertyGroup>
15-
<CLRTestBatchPreCommands><![CDATA[
16-
$(CLRTestBatchPreCommands)
17-
set COMPlus_DoubleArrayToLargeObjectHeap=0x64
18-
]]></CLRTestBatchPreCommands>
19-
<BashCLRTestPreCommands><![CDATA[
20-
$(BashCLRTestPreCommands)
21-
export COMPlus_DoubleArrayToLargeObjectHeap=0x64
22-
]]></BashCLRTestPreCommands>
23-
</PropertyGroup>
2416
</Project>

src/tests/JIT/Methodical/doublearray/dblarray4_cs_r.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="dblarray4.cs" />
13+
14+
<CLRTestEnvironmentVariable Include="COMPlus_DoubleArrayToLargeObjectHeap" Value="0x64" />
1315
</ItemGroup>
14-
<PropertyGroup>
15-
<CLRTestBatchPreCommands><![CDATA[
16-
$(CLRTestBatchPreCommands)
17-
set COMPlus_DoubleArrayToLargeObjectHeap=0x64
18-
]]></CLRTestBatchPreCommands>
19-
<BashCLRTestPreCommands><![CDATA[
20-
$(BashCLRTestPreCommands)
21-
export COMPlus_DoubleArrayToLargeObjectHeap=0x64
22-
]]></BashCLRTestPreCommands>
23-
</PropertyGroup>
2416
</Project>

src/tests/JIT/Methodical/doublearray/dblarray4_cs_ro.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,7 @@
1010
</PropertyGroup>
1111
<ItemGroup>
1212
<Compile Include="dblarray4.cs" />
13+
14+
<CLRTestEnvironmentVariable Include="COMPlus_DoubleArrayToLargeObjectHeap" Value="0x64" />
1315
</ItemGroup>
14-
<PropertyGroup>
15-
<CLRTestBatchPreCommands><![CDATA[
16-
$(CLRTestBatchPreCommands)
17-
set COMPlus_DoubleArrayToLargeObjectHeap=0x64
18-
]]></CLRTestBatchPreCommands>
19-
<BashCLRTestPreCommands><![CDATA[
20-
$(BashCLRTestPreCommands)
21-
export COMPlus_DoubleArrayToLargeObjectHeap=0x64
22-
]]></BashCLRTestPreCommands>
23-
</PropertyGroup>
2416
</Project>

src/tests/JIT/PGO/ProfileCastClassAndIsInst/ProfileCastClassAndIsInst.csproj

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,13 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<Optimize>True</Optimize>
5-
<CLRTestBatchPreCommands><![CDATA[
6-
$(CLRTestBatchPreCommands)
7-
set DOTNET_TieredCompilation=1
8-
set DOTNET_TieredPGO=1
9-
set DOTNET_JitProfileCasts=1
10-
set DOTNET_JitConsumeProfileForCasts=1
11-
]]></CLRTestBatchPreCommands>
12-
<BashCLRTestPreCommands><![CDATA[
13-
$(BashCLRTestPreCommands)
14-
export DOTNET_TieredCompilation=1
15-
export DOTNET_TieredPGO=1
16-
export DOTNET_JitProfileCasts=1
17-
export DOTNET_JitConsumeProfileForCasts=1
18-
]]></BashCLRTestPreCommands>
195
</PropertyGroup>
206
<ItemGroup>
217
<Compile Include="$(MSBuildProjectName).cs" />
8+
9+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
10+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
11+
<CLRTestEnvironmentVariable Include="DOTNET_JitProfileCasts" Value="1" />
12+
<CLRTestEnvironmentVariable Include="DOTNET_JitConsumeProfileForCasts" Value="1" />
2213
</ItemGroup>
2314
</Project>

src/tests/JIT/PGO/ProfileCastClassAndIsInst/ProfileCastClassAndIsInst_random1.csproj

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,14 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<Optimize>True</Optimize>
5-
<CLRTestBatchPreCommands><![CDATA[
6-
$(CLRTestBatchPreCommands)
7-
set DOTNET_TieredCompilation=1
8-
set DOTNET_TieredPGO=1
9-
set DOTNET_JitProfileCasts=1
10-
set DOTNET_JitConsumeProfileForCasts=1
11-
set DOTNET_JitRandomGuardedDevirtualization=1
12-
]]></CLRTestBatchPreCommands>
13-
<BashCLRTestPreCommands><![CDATA[
14-
$(BashCLRTestPreCommands)
15-
export DOTNET_TieredCompilation=1
16-
export DOTNET_TieredPGO=1
17-
export DOTNET_JitProfileCasts=1
18-
export DOTNET_JitConsumeProfileForCasts=1
19-
export DOTNET_JitRandomGuardedDevirtualization=1
20-
]]></BashCLRTestPreCommands>
215
</PropertyGroup>
226
<ItemGroup>
237
<Compile Include="ProfileCastClassAndIsInst.cs" />
8+
9+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
10+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
11+
<CLRTestEnvironmentVariable Include="DOTNET_JitProfileCasts" Value="1" />
12+
<CLRTestEnvironmentVariable Include="DOTNET_JitConsumeProfileForCasts" Value="1" />
13+
<CLRTestEnvironmentVariable Include="DOTNET_JitRandomGuardedDevirtualization" Value="1" />
2414
</ItemGroup>
2515
</Project>

src/tests/JIT/PGO/ProfileCastClassAndIsInst/ProfileCastClassAndIsInst_random2.csproj

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,14 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<Optimize>True</Optimize>
5-
<CLRTestBatchPreCommands><![CDATA[
6-
$(CLRTestBatchPreCommands)
7-
set DOTNET_TieredCompilation=1
8-
set DOTNET_TieredPGO=1
9-
set DOTNET_JitProfileCasts=1
10-
set DOTNET_JitConsumeProfileForCasts=1
11-
set DOTNET_JitRandomGuardedDevirtualization=2
12-
]]></CLRTestBatchPreCommands>
13-
<BashCLRTestPreCommands><![CDATA[
14-
$(BashCLRTestPreCommands)
15-
export DOTNET_TieredCompilation=1
16-
export DOTNET_TieredPGO=1
17-
export DOTNET_JitProfileCasts=1
18-
export DOTNET_JitConsumeProfileForCasts=1
19-
export DOTNET_JitRandomGuardedDevirtualization=2
20-
]]></BashCLRTestPreCommands>
215
</PropertyGroup>
226
<ItemGroup>
237
<Compile Include="ProfileCastClassAndIsInst.cs" />
8+
9+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
10+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
11+
<CLRTestEnvironmentVariable Include="DOTNET_JitProfileCasts" Value="1" />
12+
<CLRTestEnvironmentVariable Include="DOTNET_JitConsumeProfileForCasts" Value="1" />
13+
<CLRTestEnvironmentVariable Include="DOTNET_JitRandomGuardedDevirtualization" Value="2" />
2414
</ItemGroup>
2515
</Project>

src/tests/JIT/PGO/ProfileCastClassAndIsInst/ProfileCastClassAndIsInst_random3.csproj

Lines changed: 6 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,14 @@
22
<PropertyGroup>
33
<OutputType>Exe</OutputType>
44
<Optimize>True</Optimize>
5-
<CLRTestBatchPreCommands><![CDATA[
6-
$(CLRTestBatchPreCommands)
7-
set DOTNET_TieredCompilation=1
8-
set DOTNET_TieredPGO=1
9-
set DOTNET_JitProfileCasts=1
10-
set DOTNET_JitConsumeProfileForCasts=1
11-
set DOTNET_JitRandomGuardedDevirtualization=3
12-
]]></CLRTestBatchPreCommands>
13-
<BashCLRTestPreCommands><![CDATA[
14-
$(BashCLRTestPreCommands)
15-
export DOTNET_TieredCompilation=1
16-
export DOTNET_TieredPGO=1
17-
export DOTNET_JitProfileCasts=1
18-
export DOTNET_JitConsumeProfileForCasts=1
19-
export DOTNET_JitRandomGuardedDevirtualization=3
20-
]]></BashCLRTestPreCommands>
215
</PropertyGroup>
226
<ItemGroup>
237
<Compile Include="ProfileCastClassAndIsInst.cs" />
8+
9+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
10+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
11+
<CLRTestEnvironmentVariable Include="DOTNET_JitProfileCasts" Value="1" />
12+
<CLRTestEnvironmentVariable Include="DOTNET_JitConsumeProfileForCasts" Value="1" />
13+
<CLRTestEnvironmentVariable Include="DOTNET_JitRandomGuardedDevirtualization" Value="3" />
2414
</ItemGroup>
2515
</Project>

src/tests/JIT/opt/Cloning/Runtime_70802.csproj

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,7 @@
55
</PropertyGroup>
66
<ItemGroup>
77
<Compile Include="$(MSBuildProjectName).cs" />
8+
9+
<CLRTestEnvironmentVariable Include="COMPlus_TieredPGO" Value="1" />
810
</ItemGroup>
9-
<PropertyGroup>
10-
<CLRTestBatchPreCommands><![CDATA[
11-
$(CLRTestBatchPreCommands)
12-
set COMPlus_TieredPGO=1
13-
]]></CLRTestBatchPreCommands>
14-
<BashCLRTestPreCommands><![CDATA[
15-
$(BashCLRTestPreCommands)
16-
export COMPlus_TieredPGO=1
17-
]]></BashCLRTestPreCommands>
18-
</PropertyGroup>
1911
</Project>

src/tests/JIT/opt/Devirtualization/GDV_GenericInterface.csproj

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,11 @@
33
<OutputType>Exe</OutputType>
44
<Optimize>True</Optimize>
55
<!-- This test requires tiered compilation and PGO -->
6-
<CLRTestBatchPreCommands><![CDATA[
7-
$(CLRTestBatchPreCommands)
8-
set DOTNET_TieredCompilation=1
9-
set DOTNET_TieredPGO=1
10-
]]></CLRTestBatchPreCommands>
11-
<BashCLRTestPreCommands><![CDATA[
12-
$(BashCLRTestPreCommands)
13-
export DOTNET_TieredCompilation=1
14-
export DOTNET_TieredPGO=1
15-
]]></BashCLRTestPreCommands>
166
</PropertyGroup>
177
<ItemGroup>
188
<Compile Include="GDV_GenericInterface.cs" />
9+
10+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
11+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
1912
</ItemGroup>
2013
</Project>

src/tests/JIT/opt/Devirtualization/GitHub_50492.csproj

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,11 @@
55
</PropertyGroup>
66
<PropertyGroup>
77
<!-- This test requires tiered compilation and PGO -->
8-
<CLRTestBatchPreCommands><![CDATA[
9-
$(CLRTestBatchPreCommands)
10-
set DOTNET_TieredCompilation=1
11-
set DOTNET_TieredPGO=1
12-
]]></CLRTestBatchPreCommands>
13-
<BashCLRTestPreCommands><![CDATA[
14-
$(BashCLRTestPreCommands)
15-
export DOTNET_TieredCompilation=1
16-
export DOTNET_TieredPGO=1
17-
]]></BashCLRTestPreCommands>
188
</PropertyGroup>
199
<ItemGroup>
2010
<Compile Include="GitHub_50492.cs" />
11+
12+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
13+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
2114
</ItemGroup>
2215
</Project>

src/tests/JIT/opt/Devirtualization/structreturningstruct.csproj

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,12 @@
88
</PropertyGroup>
99
<PropertyGroup>
1010
<!-- This test requires tiered compilation and PGO -->
11-
<CLRTestBatchPreCommands><![CDATA[
12-
$(CLRTestBatchPreCommands)
13-
set DOTNET_TieredCompilation=1
14-
set DOTNET_TieredPGO=1
15-
set DOTNET_TC_QuickJitForLoops=1
16-
]]></CLRTestBatchPreCommands>
17-
<BashCLRTestPreCommands><![CDATA[
18-
$(BashCLRTestPreCommands)
19-
export DOTNET_TieredCompilation=1
20-
export DOTNET_TieredPGO=1
21-
export DOTNET_TC_QuickJitForLoops=1
22-
]]></BashCLRTestPreCommands>
2311
</PropertyGroup>
2412
<ItemGroup>
2513
<Compile Include="structreturningstruct.cs" />
14+
15+
<CLRTestEnvironmentVariable Include="DOTNET_TieredCompilation" Value="1" />
16+
<CLRTestEnvironmentVariable Include="DOTNET_TieredPGO" Value="1" />
17+
<CLRTestEnvironmentVariable Include="DOTNET_TC_QuickJitForLoops" Value="1" />
2618
</ItemGroup>
2719
</Project>

0 commit comments

Comments
 (0)