Change policy with legacy compiler backend
[JS] Remove incremental js jps test [JS] Remove test of maven js archetype [JS] Fix another one test [JS] Fix tests for jps [JS] Try to fix maven test data [JS] Fix test data [JS] Fix test data for ant [JS] Fix jsExtraHelp test [JS] Fix test run from not-Gradle build tools [JS] Set flag without compiler error [JS] Disable warnings and errors in legacy compiler called from Gradle [JS] Proofread messages [JS] Not proofread messages KT-42326
This commit is contained in:
committed by
Space Team
parent
a3ad0a6e88
commit
c726360ad2
@@ -67,7 +67,7 @@ class AnalysisHandlerExtensionTest : TestCaseWithTmpdir() {
|
||||
val plugin = writePlugin(klass)
|
||||
val args = listOf("-Xplugin=$plugin", mainKt.absolutePath)
|
||||
val outputPath = if (compiler is K2JSCompiler)
|
||||
listOf("-output", tmpdir.resolve("out.js").absolutePath)
|
||||
listOf("-Xuse-deprecated-legacy-compiler", "-output", tmpdir.resolve("out.js").absolutePath)
|
||||
else
|
||||
listOf("-d", tmpdir.resolve("out").absolutePath)
|
||||
val (output, exitCode) = CompilerTestUtil.executeCompiler(compiler, args + outputPath + extras)
|
||||
|
||||
Reference in New Issue
Block a user