diff options
author | Simon Nattress <nattress@gmail.com> | 2017-01-13 00:41:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-13 00:41:01 +0300 |
commit | 3ad6a4393e9a6685fd1d6c74244aaac07fd8487e (patch) | |
tree | 355554f73c29ea6c1e897026f453bc9e585bfcb0 | |
parent | 2492dc8132ad0ef9ca273151564694c571cd431b (diff) | |
parent | f03875f0393599db136344ca11a2ad9745a62111 (diff) |
Merge pull request #2493 from nattress/committestrun
Run all tests during post-commit job
-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 { |