summaryrefslogtreecommitdiff
path: root/main/test
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2018-04-06 20:20:14 -0700
committerLi Haoyi <haoyi.sg@gmail.com>2018-04-06 20:48:59 -0700
commite628c84be7cf0b7bb00ba2141635d29503203fc4 (patch)
treecef8007401a40bce66d5383bfc9f1107f3c8defe /main/test
parentb9e9b6827da900a1c3565ebbd4a18f1657d6114c (diff)
downloadmill-e628c84be7cf0b7bb00ba2141635d29503203fc4.tar.gz
mill-e628c84be7cf0b7bb00ba2141635d29503203fc4.tar.bz2
mill-e628c84be7cf0b7bb00ba2141635d29503203fc4.zip
try to fix build
Diffstat (limited to 'main/test')
-rw-r--r--main/test/src/mill/util/ScriptTestSuite.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/test/src/mill/util/ScriptTestSuite.scala b/main/test/src/mill/util/ScriptTestSuite.scala
index a2f2676a..2df1c0c0 100644
--- a/main/test/src/mill/util/ScriptTestSuite.scala
+++ b/main/test/src/mill/util/ScriptTestSuite.scala
@@ -10,8 +10,8 @@ abstract class ScriptTestSuite(fork: Boolean) extends TestSuite{
def scriptSourcePath: Path
val workspacePath = pwd / 'target / 'workspace / workspaceSlug
- val stdOutErr = new PrintStream(new ByteArrayOutputStream())
-// val stdOutErr = new PrintStream(System.out)
+// val stdOutErr = new PrintStream(new ByteArrayOutputStream())
+ val stdOutErr = new PrintStream(System.out)
val stdIn = new ByteArrayInputStream(Array())
lazy val runner = new mill.main.MainRunner(
ammonite.main.Cli.Config(wd = workspacePath),
@@ -21,7 +21,7 @@ abstract class ScriptTestSuite(fork: Boolean) extends TestSuite{
if (!fork) runner.runScript(workspacePath / "build.sc", s.toList)
else{
try {
- %%(home / "mill-release", "-i", s)(workspacePath)
+ %(home / "mill-release", "-i", s)(workspacePath)
true
}catch{case e: Throwable => false}
}