We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf4fda9 + b3593b5 commit 3ed8f8eCopy full SHA for 3ed8f8e
compiler/test/dotty/tools/vulpix/ParallelTesting.scala
@@ -411,7 +411,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
411
412
if (isInteractive && !suppressAllOutput) pool.submit(createProgressMonitor)
413
414
- filteredSources.foreach { target =>
+ val eventualResults = filteredSources.map { target =>
415
pool.submit(encapsulatedCompilation(target))
416
}
417
@@ -423,6 +423,8 @@ trait ParallelTesting extends RunnerOrchestration { self =>
423
throw new TimeoutException("Compiling targets timed out")
424
425
426
+ eventualResults.foreach(_.get)
427
+
428
if (didFail) {
429
reportFailed()
430
failedTestSources.toSet.foreach(addFailedTest)
0 commit comments