Skip to content

Commit 7004c22

Browse files
committed
Merge pull request #32 from DarkDimius/verbose_ex
Enable verbose printing of exceptions thrown in junit tests
2 parents 92a4fef + d606ec5 commit 7004c22

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

project/Build.scala

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ object DottyBuild extends Build {
3333
// scalac options
3434
scalacOptions in Global ++= Seq("-feature", "-deprecation", "-language:_"),
3535

36+
// enable verbose exception messages for JUnit
37+
testOptions += Tests.Argument(TestFrameworks.JUnit, "-a", "-v"),
3638
// Adjust classpath for running dotty
3739
mainClass in (Compile, run) := Some("dotty.tools.dotc.Main"),
3840
fork in run := true,

0 commit comments

Comments
 (0)