@@ -230,7 +230,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
230
230
private def testSourcesCompleted : Int = _testSourcesCompleted
231
231
232
232
/** Complete the current compilation with the amount of errors encountered */
233
- protected final def registerCompletion (errors : Int ) = synchronized {
233
+ protected final def registerCompletion () = synchronized {
234
234
_testSourcesCompleted += 1
235
235
}
236
236
@@ -323,7 +323,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
323
323
// run should fail
324
324
failTestSource(testSource)
325
325
e.printStackTrace()
326
- registerCompletion(1 )
326
+ registerCompletion()
327
327
throw e
328
328
}
329
329
}
@@ -551,7 +551,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
551
551
}
552
552
else if (fromTasty) compileFromTasty(flags, false , outDir)
553
553
else compile(testSource.sourceFiles, flags, false , outDir)
554
- registerCompletion(reporter.errorCount )
554
+ registerCompletion()
555
555
556
556
if (reporter.compilerCrashed || reporter.errorCount > 0 ) {
557
557
logReporterContents(reporter)
@@ -570,7 +570,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
570
570
571
571
def warningCount = reporters.foldLeft(0 )(_ + _.warningCount)
572
572
573
- registerCompletion(errorCount )
573
+ registerCompletion()
574
574
575
575
if (compilerCrashed || errorCount > 0 ) {
576
576
reporters.foreach(logReporterContents)
@@ -691,7 +691,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
691
691
addFailureInstruction(buildInstr)
692
692
failTestSource(testSource)
693
693
}
694
- registerCompletion(errorCount )
694
+ registerCompletion()
695
695
}
696
696
}
697
697
}
@@ -794,7 +794,7 @@ trait ParallelTesting extends RunnerOrchestration { self =>
794
794
else if (! errorMap.isEmpty)
795
795
fail(s " \n Expected error(s) have {<error position>=<unreported error>}: $errorMap" )
796
796
797
- registerCompletion(actualErrors )
797
+ registerCompletion()
798
798
}
799
799
}
800
800
}
0 commit comments