Skip to content

Commit 4058393

Browse files
authored
Merge pull request #4294 from dotty-staging/fix-4293
Fix #4293: Add a running count of failed tests next to the progress bar
2 parents baedc50 + 029045a commit 4058393

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
295295
"[" + ("=" * (math.max(progress - 1, 0))) +
296296
(if (progress > 0) ">" else "") +
297297
(" " * (39 - progress)) +
298-
s"] completed ($tCompiled/$sourceCount, ${timestamp}s)\r"
298+
s"] completed ($tCompiled/$sourceCount, $errorCount failed, ${timestamp}s))\r"
299299
)
300300

301301
Thread.sleep(100)
@@ -451,7 +451,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
451451
}
452452

453453
private[ParallelTesting] def executeTestSuite(): this.type = {
454-
assert(_testSourcesCompleted == 0, "not allowed to re-use a `CompileRun`")
454+
assert(testSourcesCompleted == 0, "not allowed to re-use a `CompileRun`")
455455

456456
if (filteredSources.nonEmpty) {
457457
val pool = threadLimit match {

0 commit comments

Comments
 (0)