From a9ee294bf6ca59616b78f3c8b2f8a2ce7544455f Mon Sep 17 00:00:00 2001 From: Nicolas Stucki Date: Thu, 11 Apr 2019 16:42:57 +0200 Subject: [PATCH] Print report even if the executor crashed When an executor crashes the error report is emitted and the exception is printed out. --- compiler/test/dotty/tools/vulpix/ParallelTesting.scala | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala index 87d5ab101021..fbd025b36b1c 100644 --- a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala +++ b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala @@ -481,7 +481,14 @@ trait ParallelTesting extends RunnerOrchestration { self => throw new TimeoutException("Compiling targets timed out") } - eventualResults.foreach(_.get) + eventualResults.foreach { x => + try x.get() + catch { + case ex: Exception => + System.err.println(ex.getMessage) + ex.printStackTrace() + } + } if (logProgress) { timer.cancel()