parallelExecution default false, use -Dakka.parallelExecution=true for warp speed.
This commit is contained in:
parent
5ec128f83a
commit
47d65774e3
2 changed files with 11 additions and 2 deletions
|
|
@ -75,6 +75,15 @@ If compiling and testing are successful then you have everything working for the
|
|||
latest Akka development version.
|
||||
|
||||
|
||||
Parallel Execution
|
||||
------------------
|
||||
|
||||
By default the tests are executed sequentially. They can be executed in parallel to reduce build times,
|
||||
if hardware can handle the increased memory and cpu usage. Add the following system property to sbt
|
||||
launch script to activate parallel execution::
|
||||
|
||||
-Dakka.parallelExecution=true
|
||||
|
||||
Publish to local Ivy repository
|
||||
-------------------------------
|
||||
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ object AkkaBuild extends Build {
|
|||
id = "akka",
|
||||
base = file("."),
|
||||
settings = parentSettings ++ Release.settings ++ Unidoc.settings ++ Rstdoc.settings ++ Publish.versionSettings ++ Dist.settings ++ Seq(
|
||||
parallelExecution in GlobalScope := System.getProperty("akka.parallelExecution", "true").toBoolean,
|
||||
parallelExecution in GlobalScope := System.getProperty("akka.parallelExecution", "false").toBoolean,
|
||||
Publish.defaultPublishTo in ThisBuild <<= crossTarget / "repository",
|
||||
Unidoc.unidocExclude := Seq(samples.id, tutorials.id),
|
||||
Dist.distExclude := Seq(actorTests.id, akkaSbtPlugin.id, docs.id)
|
||||
|
|
@ -314,7 +314,7 @@ object AkkaBuild extends Build {
|
|||
if (true || (System getProperty "java.runtime.version" startsWith "1.7")) Seq() else Seq("-optimize")), // -optimize fails with jdk7
|
||||
javacOptions ++= Seq("-Xlint:unchecked", "-Xlint:deprecation"),
|
||||
|
||||
parallelExecution in Test := System.getProperty("akka.parallelExecution", "true").toBoolean,
|
||||
parallelExecution in Test := System.getProperty("akka.parallelExecution", "false").toBoolean,
|
||||
|
||||
// for excluding tests by name (or use system property: -Dakka.test.names.exclude=TimingSpec)
|
||||
excludeTestNames := {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue