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:
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user