Skip to content
This repository was archived by the owner on Sep 1, 2020. It is now read-only.

Commit 0061759

Browse files
committed
Split “partest run” off from “partest pos neg jvm”
We’ve seen several OOM failures in “run” tests lately. Maybe going back to more separate partest calls will help. Now that everything is launched from the same sbt instance and test results are always accumulated, this should not have any negative impact on build performance or usability.
1 parent 366f45b commit 0061759

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.sbt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,8 @@ lazy val root: Project = (project in file("."))
771771
testAll := {
772772
val results = ScriptCommands.sequence[Result[Unit]](List(
773773
(Keys.test in Test in junit).result,
774-
(testOnly in IntegrationTest in testP).toTask(" -- run pos neg jvm").result,
774+
(testOnly in IntegrationTest in testP).toTask(" -- run").result,
775+
(testOnly in IntegrationTest in testP).toTask(" -- pos neg jvm").result,
775776
(testOnly in IntegrationTest in testP).toTask(" -- res scalap specialized scalacheck").result,
776777
(testOnly in IntegrationTest in testP).toTask(" -- instrumented presentation").result,
777778
(testOnly in IntegrationTest in testP).toTask(" -- --srcpath scaladoc").result,
@@ -789,7 +790,8 @@ lazy val root: Project = (project in file("."))
789790
// All attempts to define these together with the actual tasks due to the applicative rewriting of `.value`
790791
val descriptions = Vector(
791792
"junit/test",
792-
"partest run pos neg jvm",
793+
"partest run",
794+
"partest pos neg jvm",
793795
"partest res scalap specialized scalacheck",
794796
"partest instrumented presentation",
795797
"partest --srcpath scaladoc",

0 commit comments

Comments
 (0)