Skip process unit tests

This commit is contained in:
Eugene Yokota 2015-06-20 14:21:16 -04:00
parent bd6f9e712d
commit 131e99b7c9
2 changed files with 22 additions and 2 deletions

View File

@ -15,7 +15,8 @@ jdk:
env:
matrix:
- SCRIPTED_TEST="test"
- SCRIPTED_TEST="safeUnitTests"
- SCRIPTED_TEST="otherUnitTests"
- SCRIPTED_TEST="scripted actions/*"
- SCRIPTED_TEST="scripted api/*"
- SCRIPTED_TEST="scripted compiler-project/*""
@ -32,7 +33,6 @@ env:
- SCRIPTED_TEST="scripted source-dependencies/*3of3"
- SCRIPTED_TEST="scripted tests/*"
- SCRIPTED_TEST="scripted project-load/*"
- SCRIPTED_TEST="safeUnitTests"
- SCRIPTED_TEST="checkBuildScala211"
# - SCRIPTED_TEST="mavenResolverPluginTest:scripted dependency-management/*1of2 project/transitive-plugins"
# - SCRIPTED_TEST="mavenResolverPluginTest:scripted dependency-management/*2of2"

View File

@ -576,6 +576,23 @@ lazy val safeProjects: ScopeFilter = ScopeFilter(
logProj, runProj, stdTaskProj),
inConfigurations(Test)
)
lazy val otherUnitTests = taskKey[Unit]("Unit test other projects")
lazy val otherProjects: ScopeFilter = ScopeFilter(
inProjects(interfaceProj, apiProj, controlProj,
applyMacroProj,
// processProj, // this one is suspicious
ioProj,
relationProj, classfileProj, datatypeProj,
crossProj, logicProj, testingProj, testAgentProj, taskProj,
cacheProj, trackingProj,
compileIncrementalProj,
compilePersistProj, compilerProj,
compilerIntegrationProj, compilerIvyProj,
scriptedBaseProj, scriptedSbtProj, scriptedPluginProj,
commandProj, mainSettingsProj, mainProj,
sbtProj, mavenResolverPluginProj),
inConfigurations(Test)
)
def customCommands: Seq[Setting[_]] = Seq(
commands += Command.command("setupBuildScala211") { state =>
@ -594,6 +611,9 @@ def customCommands: Seq[Setting[_]] = Seq(
safeUnitTests := {
test.all(safeProjects).value
},
otherUnitTests := {
test.all(otherProjects)
}
commands += Command.command("release-sbt-local") { state =>
"clean" ::
"allPrecompiled/clean" ::