Update tests after switching to LV 1.9
This commit is contained in:
committed by
Space Team
parent
66544a4e00
commit
88efa6bfb6
@@ -146,9 +146,11 @@ class LauncherScriptTest : TestCaseWithTmpdir() {
|
||||
"-nowarn",
|
||||
"-Xlegacy-deprecated-no-warn",
|
||||
"-Xuse-deprecated-legacy-compiler",
|
||||
// TODO: It will be deleted after all of our internal vendors will use the new Kotlin/JS compiler
|
||||
"-D${CompilerSystemProperties.KOTLIN_JS_COMPILER_LEGACY_FORCE_ENABLED.property}=true",
|
||||
"-output",
|
||||
File(tmpdir, "out.js").path,
|
||||
environment = mapOf("JAVA_HOME" to KtTestUtil.getJdk8Home().absolutePath)
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
+8
-8
@@ -771,23 +771,23 @@ class CompileKotlinAgainstCustomBinariesTest : AbstractKotlinCompilerIntegration
|
||||
)
|
||||
}
|
||||
)
|
||||
val library15 = compileLibrary(
|
||||
"library15",
|
||||
additionalOptions = listOf("-language-version", "1.5")
|
||||
val library16 = compileLibrary(
|
||||
"library16",
|
||||
additionalOptions = listOf("-language-version", "1.6")
|
||||
)
|
||||
compileKotlin(
|
||||
"expectActualLv14.kt",
|
||||
output = tmpdir,
|
||||
classpath = listOf(library14, library15),
|
||||
classpath = listOf(library14, library16),
|
||||
additionalOptions = listOf("-language-version", "1.4", "-Xmulti-platform"),
|
||||
expectedFileName = "output14.txt",
|
||||
)
|
||||
compileKotlin(
|
||||
"expectActualLv15.kt",
|
||||
"expectActualLv16.kt",
|
||||
output = tmpdir,
|
||||
classpath = listOf(library14, library15),
|
||||
additionalOptions = listOf("-language-version", "1.5", "-Xmulti-platform"),
|
||||
expectedFileName = "output15.txt",
|
||||
classpath = listOf(library14, library16),
|
||||
additionalOptions = listOf("-language-version", "1.6", "-Xmulti-platform"),
|
||||
expectedFileName = "output16.txt",
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user