From c90b398398a5a3470a9cd956da7376b203f4c457 Mon Sep 17 00:00:00 2001 From: Evgeny Gerashchenko Date: Tue, 7 May 2013 17:31:35 +0400 Subject: [PATCH] Replaced sout with serr in some test to reduce noise. --- compiler/tests/org/jetbrains/jet/codegen/TestlibTest.java | 3 ++- .../jet/codegen/forTestCompile/ForTestCompileRuntime.java | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/tests/org/jetbrains/jet/codegen/TestlibTest.java b/compiler/tests/org/jetbrains/jet/codegen/TestlibTest.java index d1758fc50d7..90b416a20d3 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/TestlibTest.java +++ b/compiler/tests/org/jetbrains/jet/codegen/TestlibTest.java @@ -95,7 +95,8 @@ public class TestlibTest extends UsefulTestCase { configuration.add(CommonConfigurationKeys.SOURCE_ROOTS_KEY, JetParsingTest.getTestDataDir() + "/../../libraries/stdlib/test"); configuration.add(CommonConfigurationKeys.SOURCE_ROOTS_KEY, JetParsingTest.getTestDataDir() + "/../../libraries/kunit/src"); - configuration.put(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, MessageCollectorPlainTextToStream.PLAIN_TEXT_TO_SYSTEM_ERR); + configuration.put(CLIConfigurationKeys.MESSAGE_COLLECTOR_KEY, + new MessageCollectorPlainTextToStream(System.out, MessageCollectorPlainTextToStream.NON_VERBOSE)); myEnvironment = new JetCoreEnvironment(getTestRootDisposable(), configuration); diff --git a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java index e8e1bcfbae8..7aa470e7038 100644 --- a/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java +++ b/compiler/tests/org/jetbrains/jet/codegen/forTestCompile/ForTestCompileRuntime.java @@ -58,7 +58,7 @@ public class ForTestCompileRuntime { } private static void compileStdlib(File destdir) throws IOException { - ExitCode exitCode = new K2JVMCompiler().exec(System.err, + ExitCode exitCode = new K2JVMCompiler().exec(System.out, "-output", destdir.getPath(), "-src", "./libraries/stdlib/src", "-noStdlib",