Send compiler output to stderr instead of stdout

Test only stderr in kotlinc test now and move the '-script' test to integration
tests where both stdout and stderr is tested
This commit is contained in:
Alexander Udalov
2014-07-22 16:14:49 +04:00
parent 7e6b05554e
commit 5003a2f570
14 changed files with 26 additions and 41 deletions
@@ -210,7 +210,7 @@ public abstract class CLICompiler<A extends CommonCompilerArguments> {
@NotNull
public static ExitCode doMainNoExit(@NotNull CLICompiler compiler, @NotNull String[] args) {
try {
ExitCode rc = compiler.exec(System.out, args);
ExitCode rc = compiler.exec(System.err, args);
if (rc != OK) {
System.err.println("exec() finished with " + rc + " return code");
}