Compiler, Scripts: strip stacktrace when reporting exception on script execution

This commit is contained in:
Pavel V. Talanov
2015-11-23 18:19:10 +03:00
parent 567f946cb0
commit d6c7029c77
4 changed files with 57 additions and 5 deletions
@@ -87,4 +87,8 @@ public class CompilerSmokeTest extends KotlinIntegrationTestBase {
public void testScriptWithClasspath() throws Exception {
runCompiler("script", "-cp", new File("lib/javax.inject.jar").getAbsolutePath(), "-script", "script.kts");
}
public void testScriptException() throws Exception {
runCompiler("script", "-script", "script.kts");
}
}