Enable by-request tiered compilation testing in CI
authornoahfalk <noahfalk@microsoft.com>
Sun, 20 Aug 2017 23:43:23 +0000 (16:43 -0700)
committernoahfalk <noahfalk@microsoft.com>
Sun, 20 Aug 2017 23:44:21 +0000 (16:44 -0700)
netci.groovy

index f6fcb25..6fa2be9 100755 (executable)
@@ -63,6 +63,7 @@ class Constants {
     // the values are the environment variables
     def static jitStressModeScenarios = [
                'minopts'                        : ['COMPlus_JITMinOpts' : '1'],
+               'tieredcompilation'              : ['COMPlus_EXPERIMENTAL_TieredCompilation' : '1'],
                'forcerelocs'                    : ['COMPlus_ForceRelocs' : '1'],
                'jitstress1'                     : ['COMPlus_JitStress' : '1'],
                'jitstress2'                     : ['COMPlus_JitStress' : '2'],
@@ -86,6 +87,7 @@ class Constants {
                'jitsse2only'                    : ['COMPlus_EnableAVX' : '0', 'COMPlus_EnableSSE3_4' : '0'],
                'corefx_baseline'                : [ : ], // corefx baseline
                'corefx_minopts'                 : ['COMPlus_JITMinOpts' : '1'],
+               'corefx_tieredcompilation'       : ['COMPlus_EXPERIMENTAL_TieredCompilation' : '1'],
                'corefx_jitstress1'              : ['COMPlus_JitStress' : '1'],
                'corefx_jitstress2'              : ['COMPlus_JitStress' : '2'],
                'corefx_jitstressregs1'          : ['COMPlus_JitStressRegs' : '1'],
@@ -832,6 +834,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                             }
                             break
                         case 'minopts':
+                        case 'tieredcompilation':
                         case 'forcerelocs':
                         case 'jitstress1':
                         case 'jitstress2':
@@ -870,6 +873,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                             break
                         case 'corefx_baseline':
                         case 'corefx_minopts':
+                        case 'corefx_tieredcompilation':
                         case 'corefx_jitstress1':
                         case 'corefx_jitstress2':
                         case 'corefx_jitstressregs1':
@@ -1010,6 +1014,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                             }
                             break
                         case 'minopts':
+                        case 'tieredcompilation':
                         case 'forcerelocs':
                         case 'jitstress1':
                         case 'jitstress2':
@@ -1048,6 +1053,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                             break
                         case 'corefx_baseline':
                         case 'corefx_minopts':
+                        case 'corefx_tieredcompilation':
                         case 'corefx_jitstress1':
                         case 'corefx_jitstress2':
                         case 'corefx_jitstressregs1':
@@ -1321,6 +1327,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                     }
                     break
                 case 'minopts':
+                case 'tieredcompilation':
                 case 'forcerelocs':
                 case 'jitstress1':
                 case 'jitstress2':
@@ -1358,6 +1365,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os,
                     break
                 case 'corefx_baseline':
                 case 'corefx_minopts':
+                case 'corefx_tieredcompilation':
                 case 'corefx_jitstress1':
                 case 'corefx_jitstress2':
                 case 'corefx_jitstressregs1':
@@ -1634,6 +1642,7 @@ def static calculateBuildCommands(def newJob, def scenario, def branch, def isPR
                                                      "pri1r2r",
                                                      "zapdisable",
                                                      "minopts",
+                                                     "tieredcompilation",
                                                      "tailcallstress",
                                                      "jitstress1",
                                                      "jitstress2",
@@ -1958,6 +1967,7 @@ combinedScenarios.each { scenario ->
                                     (scenario != 'gcstress0xc_jitstress1') &&
                                     (scenario != 'gcstress0xc_jitstress2') &&
                                     (scenario != 'minopts') &&
+                                    (scenario != 'tieredcompilation') &&
                                     (scenario != 'tailcallstress') &&
                                     (scenario != 'zapdisable')) {
                                         return