diff options
Diffstat (limited to 'compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala')
-rw-r--r-- | compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala b/compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala index 674f9e563..0b5d41329 100644 --- a/compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala +++ b/compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala @@ -410,10 +410,12 @@ trait ParallelTesting { self => acc + reporter.errorCount } + def warningCount = reporters.foldLeft(0)(_ + _.warningCount) + registerCompilation(errorCount) if (errorCount > 0) - failTestSource(testSource) + echoBuildInstructions(reporters.head, testSource, errorCount, warningCount) } } |