diff options
author | Sean Gillespie <segilles@microsoft.com> | 2016-04-25 11:27:15 -0700 |
---|---|---|
committer | Sean Gillespie <segilles@microsoft.com> | 2016-04-26 10:38:34 -0700 |
commit | 50e5a2a6d51a3dc31ab89e07d5a9f2abe573a5e2 (patch) | |
tree | f233e337f4ef440e0d9a5f065c1e2f57b5471c82 | |
parent | 3a3d44e74a249fe87adefe717b5cd556f9be6861 (diff) | |
download | coreclr-50e5a2a6d51a3dc31ab89e07d5a9f2abe573a5e2.tar.gz coreclr-50e5a2a6d51a3dc31ab89e07d5a9f2abe573a5e2.tar.bz2 coreclr-50e5a2a6d51a3dc31ab89e07d5a9f2abe573a5e2.zip |
Enable long GC tests to run daily
-rwxr-xr-x | netci.groovy | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/netci.groovy b/netci.groovy index c21552b489..6d0efa0440 100755 --- a/netci.groovy +++ b/netci.groovy @@ -357,7 +357,11 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - // long GC jobs are triggered by phrase only. + assert (os == 'Ubuntu' || os == 'Windows_NT' || os == 'OSX') + assert configuration == 'Release' + assert architecture == 'x64' + Utilities.addPeriodicTrigger(job, '@daily') + addEmailPublisher(job, 'dotnetgctests@microsoft.com') break case 'ilrt': assert !(os in bidailyCrossList) @@ -504,7 +508,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - if (configuration == 'Release' || configuration == 'Checked') { + if (configuration == 'Release') { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*") } break @@ -666,7 +670,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } break case 'longgc': - if (configuration == 'Release' || configuration == 'Checked') { + if (configuration == 'Release') { Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${configuration}\\W+${scenario}.*") } break @@ -857,7 +861,7 @@ def static addTriggers(def job, def branch, def isPR, def architecture, def os, } } else if (scenario == 'longgc') { if (os == 'Windows_NT'){ - if (configuration == 'Release' || configuration == 'Checked'){ + if (configuration == 'Release'){ Utilities.addGithubPRTriggerForBranch(job, branch, "${os} ${architecture} ${configuration} Long-Running GC Build & Test", "(?i).*test\\W+${os}\\W+${architecture}\\W+${configuration}\\W+${scenario}.*") } } @@ -1008,14 +1012,15 @@ combinedScenarios.each { scenario -> } break case 'longgc': - if (os != 'Windows_NT') { + if (os != 'Windows_NT' && os != 'Ubuntu' && os != 'OSX') { return } - - // only x64 or x86 for now if (architecture != 'x64') { return } + if (configuration != 'Release') { + return + } break // We need Windows & Ubuntu x64 Release bits for the code coverage build case 'coverage': @@ -1436,8 +1441,8 @@ combinedScenarios.each { scenario -> } break case 'longgc': - //Skip configs that aren't Checked or Release (so just Debug, for now) - if (configuration != 'Checked' && configuration != 'Release') { + // Long GC tests take a long time on non-Release builds + if (configuration != 'Release') { return } break |