@@ -44,8 +44,8 @@ class Constants {
44
44
' jitstressregs3' : [' COMPlus_JitStressRegs' : ' 3' ], ' jitstressregs4' : [' COMPlus_JitStressRegs' : ' 4' ],
45
45
' jitstressregs8' : [' COMPlus_JitStressRegs' : ' 8' ], ' jitstressregs0x10' : [' COMPlus_JitStressRegs' : ' 0x10' ],
46
46
' jitstressregs0x80' : [' COMPlus_JitStressRegs' : ' 0x80' ],
47
- ' corefx_jitstress1 ' : [' COMPlus_JitStress' : ' 1' ],
48
- ' corefx_jitstress2 ' : [' COMPlus_JitStress' : ' 2' ]]
47
+ ' fxjs1 ' : [' COMPlus_JitStress' : ' 1' ],
48
+ ' fxjs2 ' : [' COMPlus_JitStress' : ' 2' ]]
49
49
// This is the basic set of scenarios
50
50
def static basicScenarios = [' default' , ' pri1' , ' ilrt' ]
51
51
// This is the set of configurations
@@ -68,7 +68,7 @@ def static setMachineAffinity(def job, def os, def architecture) {
68
68
}
69
69
70
70
def static isCorefxTesting (def scenario ) {
71
- return scenario. substring(0 ,6 ) == ' corefx '
71
+ return scenario. substring(0 ,2 ) == ' fx '
72
72
}
73
73
74
74
// Generates the string for creating a file that sets environment variables
@@ -208,8 +208,8 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
208
208
case ' forcerelocs' :
209
209
case ' jitstress1' :
210
210
case ' jitstress2' :
211
- case ' corefx_jitstress1 ' :
212
- case ' corefx_jitstress2 ' :
211
+ case ' fxjs1 ' :
212
+ case ' fxjs2 ' :
213
213
assert (os == ' Windows_NT' ) || (os in Constants . crossList)
214
214
Utilities . addPeriodicTrigger(job, ' @daily' )
215
215
break
@@ -319,8 +319,8 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
319
319
Utilities . addGithubPRTrigger(job, " ${ os} ${ architecture} ${ configuration} Build and Test (Jit - JitStressRegs=0x80)" ,
320
320
" (?i).*test\\ W+${ os} \\ W+${ scenario} .*" )
321
321
break
322
- case ' corefx_jitstress1 ' :
323
- case ' corefx_jitstress2 ' :
322
+ case ' fxjs1 ' :
323
+ case ' fxjs2 ' :
324
324
// No Linux support is needed now
325
325
break
326
326
default :
@@ -410,12 +410,12 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur
410
410
Utilities . addGithubPRTrigger(job, " ${ os} ${ architecture} ${ configuration} Build and Test (Jit - JitStressRegs=0x80)" ,
411
411
" (?i).*test\\ W+${ os} \\ W+${ scenario} .*" )
412
412
break
413
- case ' corefx_jitstress1 ' :
413
+ case ' fxjs1 ' :
414
414
assert (os == ' Windows_NT' ) || (os in Constants . crossList)
415
415
Utilities . addGithubPRTrigger(job, " ${ os} ${ architecture} ${ configuration} Build and Test (Jit - CoreFx JitStress=1)" ,
416
416
" (?i).*test\\ W+${ os} \\ W+${ scenario} .*" )
417
417
break
418
- case ' corefx_jitstress2 ' :
418
+ case ' fxjs2 ' :
419
419
assert (os == ' Windows_NT' ) || (os in Constants . crossList)
420
420
Utilities . addGithubPRTrigger(job, " ${ os} ${ architecture} ${ configuration} Build and Test (Jit - CoreFx JitStress=2)" ,
421
421
" (?i).*test\\ W+${ os} \\ W+${ scenario} .*" )
@@ -600,7 +600,8 @@ combinedScenarios.each { scenario ->
600
600
case ' x86' :
601
601
602
602
if (scenario == ' default' || Constants . jitStressModeScenarios. containsKey(scenario)) {
603
- buildCommands + = " build.cmd ${ lowerConfiguration} ${ architecture} "
603
+ buildOpts = enableCorefxTesting ? ' skiptests' : ' '
604
+ buildCommands + = " build.cmd ${ lowerConfiguration} ${ architecture} ${ buildOpts} "
604
605
}
605
606
606
607
// For Pri 1 tests, we must shorten the output test binary path names.
@@ -629,7 +630,7 @@ combinedScenarios.each { scenario ->
629
630
if (Constants . jitStressModeScenarios. containsKey(scenario)) {
630
631
if (enableCorefxTesting) {
631
632
// Sync to corefx repo
632
- buildCommands + = " git clone https://github.com/dotnet/corefx corefx "
633
+ buildCommands + = " git clone https://github.com/dotnet/corefx fx "
633
634
634
635
def setEnvVar = ' '
635
636
def envVars = Constants . jitStressModeScenarios[scenario]
@@ -638,7 +639,7 @@ combinedScenarios.each { scenario ->
638
639
}
639
640
640
641
// Run corefx testing
641
- buildCommands + = " cd corefx && call \" C:\\ Program Files (x86)\\ Microsoft Visual Studio 14.0\\ VC\\ vcvarsall.bat\" x86 ${ setEnvVar} && Build.cmd /p:ConfigurationGroup=Release /p:WithCategories=\" InnerLoop;OuterLoop\" /p:BUILDTOOLS_OVERRIDE_RUNTIME=%WORKSPACE%\\ bin\\ Product\\ Windows_NT.x64.Checked /p:TestWithLocalLibraries=true"
642
+ buildCommands + = " cd fx && call \" C:\\ Program Files (x86)\\ Microsoft Visual Studio 14.0\\ VC\\ vcvarsall.bat\" x86 ${ setEnvVar} && Build.cmd /p:ConfigurationGroup=Release /p:WithCategories=\" InnerLoop;OuterLoop\" /p:BUILDTOOLS_OVERRIDE_RUNTIME=%WORKSPACE%\\ bin\\ Product\\ Windows_NT.x64.Checked /p:TestWithLocalLibraries=true"
642
643
}
643
644
else {
644
645
def stepScriptLocation = " %WORKSPACE%\\ bin\\ tests\\ SetStressModes.bat"
@@ -678,10 +679,10 @@ combinedScenarios.each { scenario ->
678
679
// Archive only result xml files since corefx/bin/tests is very large around 10 GB.
679
680
680
681
// For windows, pull full test results and test drops for x86/x64
681
- Utilities . addArchival(newJob, " corefx /bin/test/**/testResults.xml" )
682
+ Utilities . addArchival(newJob, " fx /bin/test/**/testResults.xml" )
682
683
683
684
if (architecture == ' x64' || ! isPR) {
684
- Utilities . addXUnitDotNETResults(newJob, ' corefx /bin/tests/**/testResults.xml' )
685
+ Utilities . addXUnitDotNETResults(newJob, ' fx /bin/tests/**/testResults.xml' )
685
686
}
686
687
}
687
688
0 commit comments