diff options
author | Felix Mulder <felix.mulder@gmail.com> | 2017-04-03 17:10:57 +0200 |
---|---|---|
committer | Felix Mulder <felix.mulder@gmail.com> | 2017-04-12 11:21:56 +0200 |
commit | 5c573d3b5b9f294920bdd7a142219a967c926bb4 (patch) | |
tree | 1fbe4b692ed57ab46cd89d9a3e9d2757994fa889 /compiler/test/dotty/tools | |
parent | d65e4eadaf5c9fbed379680de591bb3ef42c6b3d (diff) | |
download | dotty-5c573d3b5b9f294920bdd7a142219a967c926bb4.tar.gz dotty-5c573d3b5b9f294920bdd7a142219a967c926bb4.tar.bz2 dotty-5c573d3b5b9f294920bdd7a142219a967c926bb4.zip |
Add reproduction instr for pos separate compilation
Diffstat (limited to 'compiler/test/dotty/tools')
-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) } } |