From 5c573d3b5b9f294920bdd7a142219a967c926bb4 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Mon, 3 Apr 2017 17:10:57 +0200 Subject: Add reproduction instr for pos separate compilation --- compiler/test/dotty/tools/dotc/vulpix/ParallelTesting.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) } } -- cgit v1.2.3