Skip to content

Commit 0585d34

Browse files
committed
Share process pool for all @test
1 parent c96a0dd commit 0585d34

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,9 @@ trait RunnerOrchestration {
4848
/** Running a `Test` class's main method from the specified `dir` */
4949
def runMain(classPath: String)(implicit summaryReport: SummaryReporting): Status =
5050
monitor.runMain(classPath)
51+
}
5152

53+
object RunnerOrchestration {
5254
private val monitor = new RunnerMonitor
5355

5456
/** The runner monitor object keeps track of child JVM processes by keeping
@@ -202,4 +204,4 @@ trait RunnerOrchestration {
202204
// On shutdown, we need to kill all runners:
203205
sys.addShutdownHook(killAll())
204206
}
205-
}
207+
}

0 commit comments

Comments
 (0)