Don't check Java version in LauncherScriptTest
This commit is contained in:
@@ -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
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user