[JS IR BE]: Disable incremental compilation tests until IC is supported

This commit is contained in:
Anton Bannykh
2018-10-15 17:48:51 +03:00
parent 995ac7aac2
commit 29ff4d6677
16 changed files with 7 additions and 16 deletions
@@ -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>()