diff options
author | Sejong Oh <sejooh@microsoft.com> | 2016-02-22 12:36:12 -0800 |
---|---|---|
committer | Sejong Oh <sejooh@microsoft.com> | 2016-02-22 12:36:12 -0800 |
commit | c1109f39a7298b8e8ccec1b48ead102932fa9516 (patch) | |
tree | c332ec2ae5e48219f7625ad3e0dfc37c71138a7d | |
parent | 98c2b749ef5b7441f79d2ce1cfaf2665b7f138cf (diff) | |
parent | 55894a7344b4a23a22d1a24deffdd562a05f06bd (diff) | |
download | coreclr-c1109f39a7298b8e8ccec1b48ead102932fa9516.tar.gz coreclr-c1109f39a7298b8e8ccec1b48ead102932fa9516.tar.bz2 coreclr-c1109f39a7298b8e8ccec1b48ead102932fa9516.zip |
Merge pull request #3259 from sejongoh/add_corefx_minopts
Add minopts and fix few bugs
-rw-r--r-- | netci.groovy | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/netci.groovy b/netci.groovy index a1dcb8b50c..ea2a20c0fa 100644 --- a/netci.groovy +++ b/netci.groovy @@ -53,6 +53,7 @@ class Constants { 'jitstress2_jitstressregs0x10' : ['COMPlus_JitStress' : '2', 'COMPlus_JitStressRegs' : '0x10'], 'jitstress2_jitstressregs0x80' : ['COMPlus_JitStress' : '2', 'COMPlus_JitStressRegs' : '0x80'], 'corefx_baseline' : ['' : ''], // corefx baseline + 'corefx_minopts' : ['COMPlus_JitMinOpts' : '1'], 'corefx_jitstress1' : ['COMPlus_JitStress' : '1'], 'corefx_jitstress2' : ['COMPlus_JitStress' : '2'], 'corefx_jitstressregs1' : ['COMPlus_JitStressRegs' : '1'], 'corefx_jitstressregs2' : ['COMPlus_JitStressRegs' : '2'], @@ -242,6 +243,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur case 'jitstress2_jitstressregs0x10': case 'jitstress2_jitstressregs0x80': case 'corefx_baseline': + case 'corefx_minopts': case 'corefx_jitstress1': case 'corefx_jitstress2': case 'corefx_jitstressregs1': @@ -290,7 +292,8 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur case 'Ubuntu': case 'OSX': // Triggers on the non-flow jobs aren't necessary here - if (!isFlowJob) { + // Corefx testing uses non-flow jobs. + if (!isFlowJob && !isCorefxTesting(scenario)) { break } switch (scenario) { @@ -378,6 +381,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur "(?i).*test\\W+${os}\\W+${scenario}.*") break case 'corefx_baseline': + case 'corefx_minopts': case 'corefx_jitstress1': case 'corefx_jitstress2': case 'corefx_jitstressregs1': @@ -492,6 +496,7 @@ def static addTriggers(def job, def isPR, def architecture, def os, def configur "(?i).*test\\W+${os}\\W+${scenario}.*") break case 'corefx_baseline': + case 'corefx_minopts': case 'corefx_jitstress1': case 'corefx_jitstress2': case 'corefx_jitstressregs1': @@ -831,9 +836,18 @@ combinedScenarios.each { scenario -> // Get corefx buildCommands += "git clone https://github.com/dotnet/corefx fx" + // Set environment variable + def setEnvVar = '' + def envVars = Constants.jitStressModeScenarios[scenario] + envVars.each{ VarName, Value -> + if (VarName != '') { + setEnvVar += " ${VarName}=${Value}" + } + } + // Build and text corefx buildCommands += "rm -rf \$WORKSPACE/fx_home; mkdir \$WORKSPACE/fx_home" - buildCommands += "cd fx; HOME=\$WORKSPACE/fx_home ./build.sh /p:ConfigurationGroup=${lowerConfiguration} /p:BUILDTOOLS_OVERRIDE_RUNTIME=\$WORKSPACE/clr/bin/Product/Linux.x64.Checked" + buildCommands += "cd fx; HOME=\$WORKSPACE/fx_home ${setEnvVar} ./build.sh /p:ConfigurationGroup=Release /p:BUILDTOOLS_OVERRIDE_RUNTIME=\$WORKSPACE/clr/bin/Product/Linux.x64.Checked" // Archive and process test result Utilities.addArchival(newJob, "fx/bin/tests/**/testResults.xml") |