System property for parallelExecution, use -Dakka.parallelExecution=false in sbt launch script to run build/tests sequential
This commit is contained in:
parent
e160179aa9
commit
d695ef52c0
1 changed files with 2 additions and 2 deletions
|
|
@ -25,7 +25,7 @@ object AkkaBuild extends Build {
|
||||||
id = "akka",
|
id = "akka",
|
||||||
base = file("."),
|
base = file("."),
|
||||||
settings = parentSettings ++ Release.settings ++ Unidoc.settings ++ Rstdoc.settings ++ Publish.versionSettings ++ Dist.settings ++ Seq(
|
settings = parentSettings ++ Release.settings ++ Unidoc.settings ++ Rstdoc.settings ++ Publish.versionSettings ++ Dist.settings ++ Seq(
|
||||||
parallelExecution in GlobalScope := true,
|
parallelExecution in GlobalScope := System.getProperty("akka.parallelExecution", "true").toBoolean,
|
||||||
Publish.defaultPublishTo in ThisBuild <<= crossTarget / "repository",
|
Publish.defaultPublishTo in ThisBuild <<= crossTarget / "repository",
|
||||||
Unidoc.unidocExclude := Seq(samples.id, tutorials.id),
|
Unidoc.unidocExclude := Seq(samples.id, tutorials.id),
|
||||||
Dist.distExclude := Seq(actorTests.id, akkaSbtPlugin.id, docs.id)
|
Dist.distExclude := Seq(actorTests.id, akkaSbtPlugin.id, docs.id)
|
||||||
|
|
@ -318,7 +318,7 @@ object AkkaBuild extends Build {
|
||||||
unmanagedClasspath in Runtime <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
|
unmanagedClasspath in Runtime <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
|
||||||
unmanagedClasspath in Test <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
|
unmanagedClasspath in Test <+= (baseDirectory in LocalProject("akka")) map { base => Attributed.blank(base / "config") },
|
||||||
|
|
||||||
parallelExecution in Test := true,
|
parallelExecution in Test := System.getProperty("akka.parallelExecution", "true").toBoolean,
|
||||||
|
|
||||||
// for excluding tests by name (or use system property: -Dakka.test.names.exclude=TimingSpec)
|
// for excluding tests by name (or use system property: -Dakka.test.names.exclude=TimingSpec)
|
||||||
excludeTestNames := {
|
excludeTestNames := {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue