diff options
author | Simon Nattress <nattress@gmail.com> | 2017-01-12 22:34:32 +0300 |
---|---|---|
committer | Simon Nattress <nattress@gmail.com> | 2017-01-13 00:08:05 +0300 |
commit | f03875f0393599db136344ca11a2ad9745a62111 (patch) | |
tree | 19df06641bdc93f45029c9721d486bf1e2fcfa82 | |
parent | 59133e10e2e13df6943b837f6cc813429e326f6b (diff) |
Run all tests during post-commit job
Change the post-commit CI job to run the set of known good CoreCLR
tests (currently ~5000 tests)
-rw-r--r-- | netci.groovy | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/netci.groovy b/netci.groovy index 83d30da9a..917c6ba88 100644 --- a/netci.groovy +++ b/netci.groovy @@ -30,9 +30,9 @@ def osList = ['Ubuntu', 'OSX', 'Windows_NT'] // Calculate the build commands if (os == 'Windows_NT') { buildString = "build.cmd ${lowercaseConfiguration}" + testScriptString = "tests\\runtest.cmd /coreclr " } else { - // On other OS's we skipmscorlib but run the pal tests buildString = "./build.sh ${lowercaseConfiguration}" } @@ -46,8 +46,15 @@ def osList = ['Ubuntu', 'OSX', 'Windows_NT'] batchFile(buildString) if (configuration == 'Debug') { - prJobDescription += " + CoreCLR tests" - batchFile("tests\\runtest.cmd /coreclr Top200") + if (isPR) { + prJobDescription += " and CoreCLR tests" + // Run a small set of BVTs during PR validation + batchFile(testScriptString + "Top200") + } + else { + // Run the full set of known passing tests in the post-commit job + batchFile(testScriptString + "KnownGood") + } } } else { |