[JS IR BE]: Disable incremental compilation tests until IC is supported
This commit is contained in:
@@ -86,6 +86,8 @@ abstract class BasicBoxTest(
|
||||
protected open val runMinifierByDefault: Boolean = false
|
||||
protected open val skipMinification = System.getProperty("kotlin.js.skipMinificationTest", "false")!!.toBoolean()
|
||||
|
||||
protected open val incrementalCompilationChecksEnabled = true
|
||||
|
||||
fun doTest(filePath: String) {
|
||||
doTest(filePath, "OK", MainCallParameters.noCall())
|
||||
}
|
||||
@@ -329,7 +331,7 @@ abstract class BasicBoxTest(
|
||||
mainCallParameters, incrementalData, remap, testPackage, testFunction
|
||||
)
|
||||
|
||||
if (module.hasFilesToRecompile) {
|
||||
if (incrementalCompilationChecksEnabled && module.hasFilesToRecompile) {
|
||||
checkIncrementalCompilation(
|
||||
sourceDirs, module, kotlinFiles, dependencies, friends, multiModule, remap,
|
||||
outputFile, outputPrefixFile, outputPostfixFile, mainCallParameters, incrementalData, testPackage, testFunction
|
||||
|
||||
@@ -114,7 +114,10 @@ abstract class BasicIrBoxTest(
|
||||
targetBackend = TargetBackend.JS_IR
|
||||
) {
|
||||
|
||||
override var skipMinification = true
|
||||
override val skipMinification = true
|
||||
|
||||
// TODO Design incremental compilation for IR and add test support
|
||||
override val incrementalCompilationChecksEnabled = false
|
||||
|
||||
private val compilationCache = mutableMapOf<String, Result>()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user