From 2263afdf115a9a499762ff60fa876c77eccfabc8 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 12 Jan 2011 06:17:22 +0000 Subject: Some fixes for partest issues. prejudice and puts the new process code to work instead. There are still a couple bugs on my short term partest list. If this commit causes some weird issue which only arises on virtualized windows you can expect to hear from me next by postcard from st. lucia. No review. --- test/files/run/programmatic-main.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'test/files/run/programmatic-main.scala') diff --git a/test/files/run/programmatic-main.scala b/test/files/run/programmatic-main.scala index 9c7d0b7095..3a88252fd3 100644 --- a/test/files/run/programmatic-main.scala +++ b/test/files/run/programmatic-main.scala @@ -7,6 +7,8 @@ object Test { val baseargs = Array("-usejavacp", "-bootclasspath", basedir + "/scala-library.jar", "-cp", basedir + "/scala-compiler.jar") def main(args: Array[String]): Unit = { - Main process (baseargs ++ Array("-Xshow-phases")) + Console.withErr(Console.out) { + Main process (baseargs ++ Array("-Xshow-phases")) + } } } -- cgit v1.2.3