aboutsummaryrefslogtreecommitdiff
path: root/compiler/test/dotty/tools/vulpix/SummaryReport.scala
diff options
context:
space:
mode:
authorFelix Mulder <felix.mulder@gmail.com>2017-04-13 10:09:37 +0200
committerFelix Mulder <felix.mulder@gmail.com>2017-04-13 11:02:30 +0200
commit7e33bc4c11ffc5e6ecc6fb7bcbfd54c497db2c02 (patch)
treec62f158dc9187c4c95834a6617af05d81f475358 /compiler/test/dotty/tools/vulpix/SummaryReport.scala
parentc9e1bc5b6324d2a896d731eeec32bdd941d1629b (diff)
downloaddotty-7e33bc4c11ffc5e6ecc6fb7bcbfd54c497db2c02.tar.gz
dotty-7e33bc4c11ffc5e6ecc6fb7bcbfd54c497db2c02.tar.bz2
dotty-7e33bc4c11ffc5e6ecc6fb7bcbfd54c497db2c02.zip
Fix #2242: let user know which file got logged to
Diffstat (limited to 'compiler/test/dotty/tools/vulpix/SummaryReport.scala')
-rw-r--r--compiler/test/dotty/tools/vulpix/SummaryReport.scala11
1 files changed, 6 insertions, 5 deletions
diff --git a/compiler/test/dotty/tools/vulpix/SummaryReport.scala b/compiler/test/dotty/tools/vulpix/SummaryReport.scala
index efca94bba..81da634f7 100644
--- a/compiler/test/dotty/tools/vulpix/SummaryReport.scala
+++ b/compiler/test/dotty/tools/vulpix/SummaryReport.scala
@@ -102,10 +102,11 @@ final class SummaryReport extends SummaryReporting {
if (isInteractive) {
println(rep.toString)
if (failed > 0) println {
- """|
- |----------------------------------------------------------
- |Note: reproduction instructed have been dumped to log file
- |----------------------------------------------------------""".stripMargin
+ s"""|
+ |--------------------------------------------------------------------------------
+ |Note - reproduction instructions have been dumped to log file:
+ | ${TestReporter.logPath}
+ |--------------------------------------------------------------------------------""".stripMargin
}
}
@@ -116,7 +117,7 @@ final class SummaryReport extends SummaryReporting {
// If we're on the CI, we want everything
if (!isInteractive) println(rep.toString)
- TestReporter.writeToLog(rep.toString)
+ TestReporter.logPrintln(rep.toString)
// Perform cleanup callback:
if (cleanUps.nonEmpty) cleanUps.foreach(_.apply())