Don't check Java version in LauncherScriptTest

This commit is contained in:
Dmitry Jemerov
2017-03-08 14:07:47 +01:00
parent 263cf85c5c
commit a2f7808ab1
@@ -61,6 +61,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
fun testKotlincSimple() { fun testKotlincSimple() {
runProcess( runProcess(
"kotlinc", "kotlinc",
"-Xskip-java-check",
"$testDataDirectory/helloWorld.kt", "$testDataDirectory/helloWorld.kt",
"-d", tmpdir.path "-d", tmpdir.path
) )
@@ -69,6 +70,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
fun testKotlincJvmSimple() { fun testKotlincJvmSimple() {
runProcess( runProcess(
"kotlinc-jvm", "kotlinc-jvm",
"-Xskip-java-check",
"$testDataDirectory/helloWorld.kt", "$testDataDirectory/helloWorld.kt",
"-d", tmpdir.path "-d", tmpdir.path
) )
@@ -77,6 +79,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
fun testKotlincJsSimple() { fun testKotlincJsSimple() {
runProcess( runProcess(
"kotlinc-js", "kotlinc-js",
"-Xskip-java-check",
"$testDataDirectory/emptyMain.kt", "$testDataDirectory/emptyMain.kt",
"-no-stdlib", "-no-stdlib",
"-output", File(tmpdir, "out.js").path "-output", File(tmpdir, "out.js").path
@@ -86,6 +89,7 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
fun testKotlinNoReflect() { fun testKotlinNoReflect() {
runProcess( runProcess(
"kotlinc", "kotlinc",
"-Xskip-java-check",
"$testDataDirectory/reflectionUsage.kt", "$testDataDirectory/reflectionUsage.kt",
"-d", tmpdir.path "-d", tmpdir.path
) )