From 93ffab54211c3150b4c3568d75519dc6426f6044 Mon Sep 17 00:00:00 2001 From: Tobias Roeser Date: Mon, 29 Oct 2018 22:10:25 +0100 Subject: Added new cmdline option --debug,-d to enable debug log --- main/test/src/mill/util/ScriptTestSuite.scala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'main/test') diff --git a/main/test/src/mill/util/ScriptTestSuite.scala b/main/test/src/mill/util/ScriptTestSuite.scala index 0b0c4011..9d3edb65 100644 --- a/main/test/src/mill/util/ScriptTestSuite.scala +++ b/main/test/src/mill/util/ScriptTestSuite.scala @@ -15,10 +15,11 @@ abstract class ScriptTestSuite(fork: Boolean) extends TestSuite{ val stdOutErr = new PrintStream(new ByteArrayOutputStream()) val stdIn = new ByteArrayInputStream(Array()) val disableTicker = false + val debugLog = false lazy val runner = new mill.main.MainRunner( ammonite.main.Cli.Config(wd = wd), disableTicker, stdOutErr, stdOutErr, stdIn, None, Map.empty, - b => () + b => (), debugLog ) def eval(s: String*) = { if (!fork) runner.runScript(workspacePath / buildPath , s.toList) -- cgit v1.2.3