Skip to content

Commit b3593b5

Browse files
committed
Fixing #2966
1 parent 520e81a commit b3593b5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
411411

412412
if (isInteractive && !suppressAllOutput) pool.submit(createProgressMonitor)
413413

414-
filteredSources.foreach { target =>
414+
val eventualResults = filteredSources.map { target =>
415415
pool.submit(encapsulatedCompilation(target))
416416
}
417417

@@ -423,6 +423,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
423423
throw new TimeoutException("Compiling targets timed out")
424424
}
425425

426+
eventualResults.foreach(_.get)
427+
426428
if (didFail) {
427429
reportFailed()
428430
failedTestSources.toSet.foreach(addFailedTest)

0 commit comments

Comments
 (0)