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

Commit 718f279

Browse files
committed
Add corefx baseline
1 parent 95a1fef commit 718f279

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

netci.groovy

Lines changed: 12 additions & 2 deletions
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-
'fxjs1' : ['COMPlus_JitStress' : '1'],
47+
'fx' : ['' : ''], // corefx baseline
48+
'fxjs1' : ['COMPlus_JitStress' : '1'],
4849
'fxjs2' : ['COMPlus_JitStress' : '2']]
4950
// This is the basic set of scenarios
5051
def static basicScenarios = ['default', 'pri1', 'ilrt']
@@ -208,6 +209,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
208209
case 'forcerelocs':
209210
case 'jitstress1':
210211
case 'jitstress2':
212+
case 'fx':
211213
case 'fxjs1':
212214
case 'fxjs2':
213215
assert (os == 'Windows_NT') || (os in Constants.crossList)
@@ -319,6 +321,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
319321
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - JitStressRegs=0x80)",
320322
"(?i).*test\\W+${os}\\W+${scenario}.*")
321323
break
324+
case 'fx':
322325
case 'fxjs1':
323326
case 'fxjs2':
324327
// No Linux support is needed now
@@ -410,6 +413,11 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
410413
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - JitStressRegs=0x80)",
411414
"(?i).*test\\W+${os}\\W+${scenario}.*")
412415
break
416+
case 'fx':
417+
assert (os == 'Windows_NT') || (os in Constants.crossList)
418+
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - CoreFx Baseline)",
419+
"(?i).*test\\W+${os}\\W+${scenario}.*")
420+
break
413421
case 'fxjs1':
414422
assert (os == 'Windows_NT') || (os in Constants.crossList)
415423
Utilities.addGithubPRTrigger(job, "${os} ${architecture} ${configuration} Build and Test (Jit - CoreFx JitStress=1)",
@@ -635,7 +643,9 @@ combinedScenarios.each { scenario ->
635643
def setEnvVar = ''
636644
def envVars = Constants.jitStressModeScenarios[scenario]
637645
envVars.each{ VarName, Value ->
638-
setEnvVar += "&& set ${VarName}=${Value} "
646+
if (VarName != '') {
647+
setEnvVar += "&& set ${VarName}=${Value} "
648+
}
639649
}
640650

641651
// Run corefx testing

0 commit comments

Comments
 (0)