未验证 提交 431ac21a 编写于 作者: A Aman Khalid 提交者: GitHub

Test hot/cold splitting in runtime-coreclr crossgen2 pipeline (#91217)

Adds job to runtime-coreclr crossgen2 that runs the innerloop test group
with hot/cold splitting enabled in Crossgen2.
上级 cd4a2537
......@@ -7,6 +7,7 @@ parameters:
testGroup: ''
crossBuild: false
readyToRun: false
hotColdSplitting: false
liveLibrariesBuildConfig: ''
compositeBuildMode: false
useCodeFlowEnforcement: ''
......@@ -119,6 +120,9 @@ jobs:
value: 'composite'
- name: LogNamePrefix
value: TestRunLogs_R2R_CG2_Composite
- ${{ if eq(parameters.hotColdSplitting, true) }}:
- name: LogNamePrefix
value: TestRunLogs_R2R_CG2_HotColdSplitting
- name: testTreeFilterArg
value: ''
......@@ -349,6 +353,7 @@ jobs:
compositeBuildMode: ${{ parameters.compositeBuildMode }}
runInUnloadableContext: ${{ parameters.runInUnloadableContext }}
tieringTest: ${{ parameters.tieringTest }}
hotColdSplitting: ${{ parameters.hotColdSplitting }}
${{ if eq(variables['System.TeamProject'], 'internal') }}:
# Access token variable for internal project from the
......
......@@ -22,6 +22,7 @@ parameters:
helixProjectArguments: ''
runInUnloadableContext: ''
tieringTest: ''
hotColdSplitting: ''
nativeAotTest: ''
longRunningGcTests: ''
gcSimulatorTests: ''
......@@ -55,6 +56,7 @@ steps:
_CompositeBuildMode: ${{ parameters.compositeBuildMode }}
_RunInUnloadableContext: ${{ parameters.runInUnloadableContext }}
_TieringTest: ${{ parameters.tieringTest }}
_HotColdSplitting: ${{ parameters.hotColdSplitting }}
_NativeAotTest: ${{ parameters.nativeAotTest }}
_LongRunningGcTests: ${{ parameters.longRunningGcTests }}
_GcSimulatorTests: ${{ parameters.gcSimulatorTests }}
......
......@@ -56,3 +56,21 @@ extends:
readyToRun: true
displayNameArgs: R2R_CG2
liveLibrariesBuildConfig: Release
# Run pri0 tests with hot/cold splitting enabled (only supported on x64 at the moment)
# TODO: test on arm64 once supported
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
buildConfig: checked
platforms:
- linux_x64
- osx_x64
- windows_x64
jobParameters:
testGroup: innerloop
readyToRun: true
hotColdSplitting: true
displayNameArgs: R2R_CG2_HotColdSplitting
liveLibrariesBuildConfig: Release
......@@ -111,6 +111,9 @@ if [ ! -z ${RunCrossGen2+x} ]%3B then
echo --synthesize-random-mibc>>$__ResponseFile
echo --embed-pgo-data>>$__ResponseFile
fi
if [ ! -z ${HotColdSplitting+x} ]%3B then
echo --hot-cold-splitting>>$__ResponseFile
fi
echo --targetarch:$(TargetArchitecture)>>$__ResponseFile
echo --targetos:$(TargetOS)>>$__ResponseFile
......@@ -257,6 +260,9 @@ if defined RunCrossGen2 (
echo --synthesize-random-mibc>>!__ResponseFile!
echo --embed-pgo-data>>!__ResponseFile!
)
if defined HotColdSplitting (
echo --hot-cold-splitting>>!__ResponseFile!
)
echo -r:!CORE_ROOT!\System.*.dll>>!__ResponseFile!
echo -r:!CORE_ROOT!\Microsoft.*.dll>>!__ResponseFile!
echo -r:!CORE_ROOT!\xunit.*.dll>>!__ResponseFile!
......
......@@ -40,6 +40,7 @@
<_GcSimulatorTests>false</_GcSimulatorTests>
<_RunInUnloadableContext>false</_RunInUnloadableContext>
<_TieringTest>false</_TieringTest>
<_HotColdSplitting>false</_HotColdSplitting>
<_NativeAotTest>false</_NativeAotTest>
<_TimeoutPerTestCollectionInMinutes>123</_TimeoutPerTestCollectionInMinutes>
<_TimeoutPerTestInMinutes>234</_TimeoutPerTestInMinutes>
......@@ -99,6 +100,7 @@
GcSimulatorTests=$(_GcSimulatorTests);
RunInUnloadableContext=$(_RunInUnloadableContext);
TieringTest=$(_TieringTest);
HotColdSplitting=$(_HotColdSplitting);
NativeAotTest=$(_NativeAotTest);
TimeoutPerTestCollectionInMinutes=$(_TimeoutPerTestCollectionInMinutes);
TimeoutPerTestInMinutes=$(_TimeoutPerTestInMinutes);
......@@ -668,6 +670,7 @@
<HelixPreCommand Include="set RunningGCSimulatorTests=1" Condition=" '$(GcSimulatorTests)' == 'true' " />
<HelixPreCommand Include="set RunInUnloadableContext=1" Condition=" '$(RunInUnloadableContext)' == 'true' " />
<HelixPreCommand Include="set RunTieringTest=1" Condition=" '$(TieringTest)' == 'true' " />
<HelixPreCommand Include="set HotColdSplitting=1" Condition=" '$(HotColdSplitting)' == 'true' " />
<HelixPreCommand Include="set CLRCustomTestLauncher=%HELIX_CORRELATION_PAYLOAD%\runincontext.cmd" Condition=" '$(RunInUnloadableContext)' == 'true' " />
<HelixPreCommand Include="set CLRCustomTestLauncher=%HELIX_CORRELATION_PAYLOAD%\tieringtest.cmd" Condition=" '$(TieringTest)' == 'true' " />
<HelixPreCommand Include="set CLRCustomTestLauncher=%HELIX_CORRELATION_PAYLOAD%\nativeaottest.cmd" Condition=" '$(NativeAotTest)' == 'true' " />
......@@ -720,6 +723,7 @@
<HelixPreCommand Include="export RunningGCSimulatorTests=1" Condition=" '$(GcSimulatorTests)' == 'true' " />
<HelixPreCommand Include="export RunInUnloadableContext=1" Condition=" '$(RunInUnloadableContext)' == 'true' " />
<HelixPreCommand Include="export RunTieringTest=1" Condition=" '$(TieringTest)' == 'true' " />
<HelixPreCommand Include="export HotColdSplitting=1" Condition=" '$(HotColdSplitting)' == 'true' " />
<HelixPreCommand Include="export CLRCustomTestLauncher=$HELIX_CORRELATION_PAYLOAD/runincontext.sh" Condition=" '$(RunInUnloadableContext)' == 'true' " />
<HelixPreCommand Include="export CLRCustomTestLauncher=$HELIX_CORRELATION_PAYLOAD/tieringtest.sh" Condition=" '$(TieringTest)' == 'true' " />
<HelixPreCommand Include="export CLRCustomTestLauncher=$HELIX_CORRELATION_PAYLOAD/nativeaottest.sh" Condition=" '$(NativeAotTest)' == 'true' " />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册