From d606ec5d84ebd8f5a0d2e1652fd5dc2d675ae2d3 Mon Sep 17 00:00:00 2001 From: Dmitry Petrashko Date: Sun, 2 Mar 2014 15:49:44 +0100 Subject: [PATCH] Enable verbose printing of exceptions thrown in junit tests --- project/Build.scala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/project/Build.scala b/project/Build.scala index e268a54ee4ab..2c6fe0bec8b8 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -33,6 +33,8 @@ object DottyBuild extends Build { // scalac options scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"), + // enable verbose exception messages for JUnit + testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"), // Adjust classpath for running dotty mainClass in (Compile, run) := Some("dotty.tools.dotc.Main"), fork in run := true,