From 029045a323eda5e2754e8a9a02da998555fe00c0 Mon Sep 17 00:00:00 2001 From: Allan Renucci Date: Wed, 11 Apr 2018 16:56:29 +0200 Subject: [PATCH] Fix #4293: Add a running count of failed tests next to the progress bar --- compiler/test/dotty/tools/vulpix/ParallelTesting.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala index d6f5cb0ccbd7..edf8aa672fc0 100644 --- a/compiler/test/dotty/tools/vulpix/ParallelTesting.scala +++ b/compiler/test/dotty/tools/vulpix/ParallelTesting.scala @@ -295,7 +295,7 @@ trait ParallelTesting extends RunnerOrchestration { self => "[" + ("=" * (math.max(progress - 1, 0))) + (if (progress > 0) ">" else "") + (" " * (39 - progress)) + - s"] completed ($tCompiled/$sourceCount, ${timestamp}s)\r" + s"] completed ($tCompiled/$sourceCount, $errorCount failed, ${timestamp}s))\r" ) Thread.sleep(100) @@ -451,7 +451,7 @@ trait ParallelTesting extends RunnerOrchestration { self => } private[ParallelTesting] def executeTestSuite(): this.type = { - assert(_testSourcesCompleted == 0, "not allowed to re-use a `CompileRun`") + assert(testSourcesCompleted == 0, "not allowed to re-use a `CompileRun`") if (filteredSources.nonEmpty) { val pool = threadLimit match {