Skip to content

Commit

Permalink
Add gcServer legs to stand-alone (#56575)
Browse files Browse the repository at this point in the history
* Add gcServer legs to stand-alone

* only run innerloop for gc-standalone

* fix the testenvironment
  • Loading branch information
mangod9 authored Jul 30, 2021
1 parent 72f8c04 commit d292413
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eng/pipelines/common/templates/runtimes/run-test-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -489,6 +489,9 @@ jobs:
${{ if in(parameters.testGroup, 'gc-standalone') }}:
scenarios:
- gcstandalone
${{ if in(parameters.testGroup, 'gc-standalone-server') }}:
scenarios:
- gcstandaloneserver
${{ if in(parameters.testGroup, 'jitelthookenabled') }}:
scenarios:
- jitelthookenabled
Expand Down
16 changes: 16 additions & 0 deletions eng/pipelines/coreclr/gc-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,19 @@ jobs:
testGroup: gc-standalone
displayNameArgs: GCStandAlone
liveLibrariesBuildConfig: Release

- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/common/templates/runtimes/run-test-job.yml
buildConfig: checked
platforms:
- Linux_arm64
- Linux_x64
- windows_arm64
- windows_x64
helixQueueGroup: ci
helixQueuesTemplate: /eng/pipelines/coreclr/templates/helix-queues-setup.yml
jobParameters:
testGroup: gc-standalone-server
displayNameArgs: GCStandAloneServer
liveLibrariesBuildConfig: Release
2 changes: 1 addition & 1 deletion eng/pipelines/coreclr/templates/xplat-pipeline-job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ jobs:

# 'innerloop' and 'clrinterpreter' jobs run the Priority 0 tests; everything else runs the Priority 1 tests.
# 'gc-standalone' is forced to run pri0 as well to start with.
- ${{ if and(ne(parameters.testGroup, 'innerloop'), ne(parameters.testGroup, 'clrinterpreter'), ne(parameters.testGroup, 'gc-standalone')) }}:
- ${{ if and(ne(parameters.testGroup, 'innerloop'), ne(parameters.testGroup, 'clrinterpreter'), ne(parameters.testGroup, 'gc-standalone'), ne(parameters.testGroup, 'gc-standalone-server') ) }}:
- ${{ if ne(parameters.osGroup, 'windows') }}:
- name: priorityArg
value: 'priority1'
Expand Down
3 changes: 3 additions & 0 deletions src/tests/Common/testenvironment.proj
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
COMPlus_ForceRelocs;
COMPlus_GCStress;
COMPlus_GCName;
COMPlus_gcServer;
COMPlus_HeapVerify;
COMPlus_JITMinOpts;
COMPlus_JitELTHookEnabled;
Expand Down Expand Up @@ -158,6 +159,8 @@
<TestEnvironment Include="fullpgo" TieredPGO="1" TieredCompilation="1" TC_QuickJitForLoops="1" ReadyToRun="0"/>
<TestEnvironment Include="gcstandalone" Condition="'$(TargetsWindows)' == 'true'" GCName="clrgc.dll"/>
<TestEnvironment Include="gcstandalone" Condition="'$(TargetsWindows)' != 'true'" GCName="libclrgc.so"/>
<TestEnvironment Include="gcstandaloneserver" Condition="'$(TargetsWindows)' == 'true'" gcServer="1" GCName="clrgc.dll"/>
<TestEnvironment Include="gcstandaloneserver" Condition="'$(TargetsWindows)' != 'true'" gcServer="1" GCName="libclrgc.so"/>
</ItemGroup>

<!-- We use target batching on the COMPlusVariable items to iterate over the all COMPlus_* environment variables
Expand Down

0 comments on commit d292413

Please sign in to comment.