Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 5ef759d

Browse files
committed
Add more JIT stress modes to corefx testing
1 parent 7c3d6d8 commit 5ef759d

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

netci.groovy

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ class Constants {
4444
'jitstressregs3' : ['COMPlus_JitStressRegs' : '3'], 'jitstressregs4' : ['COMPlus_JitStressRegs' : '4'],
4545
'jitstressregs8' : ['COMPlus_JitStressRegs' : '8'], 'jitstressregs0x10' : ['COMPlus_JitStressRegs' : '0x10'],
4646
'jitstressregs0x80' : ['COMPlus_JitStressRegs' : '0x80'],
47-
'corefx_jitstress1' : ['COMPlus_JitStress' : '1']]
47+
'corefx_jitstress1' : ['COMPlus_JitStress' : '1'],
48+
'corefx_jitstress2' : ['COMPlus_JitStress' : '2']]
4849
// This is the basic set of scenarios
4950
def static basicScenarios = ['default', 'pri1', 'ilrt']
5051
// This is the set of configurations
@@ -208,6 +209,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
208209
case 'jitstress1':
209210
case 'jitstress2':
210211
case 'corefx_jitstress1':
212+
case 'corefx_jitstress2':
211213
assert (os == 'Windows_NT') || (os in Constants.crossList)
212214
Utilities.addPeriodicTrigger(job, '@daily')
213215
break
@@ -318,6 +320,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
318320
"(?i).*test\\W+${os}\\W+${scenario}.*")
319321
break
320322
case 'corefx_jitstress1':
323+
case 'corefx_jitstress2':
321324
// No Linux support is needed now
322325
break
323326
default:
@@ -412,6 +415,11 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
412415
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - CoreFx JitStress=1)",
413416
"(?i).*test\\W+${os}\\W+${scenario}.*")
414417
break
418+
case 'corefx_jitstress2':
419+
assert (os == 'Windows_NT') || (os in Constants.crossList)
420+
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - CoreFx JitStress=2)",
421+
"(?i).*test\\W+${os}\\W+${scenario}.*")
422+
break
415423
default:
416424
println("Unknown scenario: ${scenario}");
417425
assert false

0 commit comments

Comments
 (0)