Add -Xuse-fir-lt=false to some scripting tests
make them compatible with K2
This commit is contained in:
committed by
Space Team
parent
6144ae7a6f
commit
f9c7a88175
+2
-1
@@ -201,7 +201,8 @@ class ScriptingCompilerPluginTest : TestCase() {
|
||||
val cp = (runtimeClasspath + scriptingClasspath + defsOut).joinToString(File.pathSeparator)
|
||||
val exitCode = K2JVMCompiler().exec(
|
||||
System.err,
|
||||
"-cp", cp, *(scriptFiles.toTypedArray()), "-d", scriptsOut2.canonicalPath, "-Xallow-any-scripts-in-source-roots"
|
||||
"-cp", cp, *(scriptFiles.toTypedArray()), "-d", scriptsOut2.canonicalPath, "-Xallow-any-scripts-in-source-roots",
|
||||
"-Xuse-fir-lt=false"
|
||||
)
|
||||
|
||||
Assert.assertEquals(ExitCode.OK, exitCode)
|
||||
|
||||
+1
@@ -251,6 +251,7 @@ class ScriptingWithCliCompilerTest {
|
||||
arrayOf(
|
||||
"-P", "plugin:kotlin.scripting:disable-script-definitions-autoloading=true",
|
||||
"-cp", getMainKtsClassPath().joinToString(File.pathSeparator), "-d", tmpdir.path,
|
||||
"-Xuse-fir-lt=false",
|
||||
"-Xallow-any-scripts-in-source-roots", "-verbose", fileArg
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user