From 805884cb664467ae97922e1afe44891c64fcfde2 Mon Sep 17 00:00:00 2001 From: Felix Mulder Date: Wed, 19 Oct 2016 15:03:26 +0200 Subject: Remove compiler when running applications via dotr --- test/dotty/partest/DPConsoleRunner.scala | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/dotty') diff --git a/test/dotty/partest/DPConsoleRunner.scala b/test/dotty/partest/DPConsoleRunner.scala index d445722c9..18fac4de8 100644 --- a/test/dotty/partest/DPConsoleRunner.scala +++ b/test/dotty/partest/DPConsoleRunner.scala @@ -302,7 +302,11 @@ class DPTestRunner(testFile: File, suiteRunner: DPSuiteRunner) extends nest.Runn } // override to add dotty and scala jars to classpath - override def extraClasspath = suiteRunner.fileManager.asInstanceOf[DottyFileManager].extraJarList ::: super.extraClasspath + override def extraClasspath = { + val cp = suiteRunner.fileManager.asInstanceOf[DottyFileManager].extraJarList ::: super.extraClasspath + println(s"extraClasspath: $cp") + cp + } // override to keep class files if failed and delete clog if ok override def cleanup = if (lastState.isOk) { -- cgit v1.2.3