Minor, don't fire up Swing thread in CLI tests

This commit is contained in:
Alexander Udalov
2014-06-23 10:07:24 +04:00
parent cd44bc3fb0
commit d963ff31ae
@@ -73,6 +73,7 @@ public class CliBaseTest {
}
private void executeCompilerCompareOutput(@NotNull CLICompiler<?> compiler, @NotNull String testDataDir) throws Exception {
System.setProperty("java.awt.headless", "true");
Pair<String, ExitCode> outputAndExitCode =
executeCompilerGrabOutput(compiler, readArgs(testDataDir + "/" + testName.getMethodName() + ".args", testDataDir,
tmpdir.getTmpDir().getPath()));