[JS IR] fix IC pipeline and unmute tests

This commit is contained in:
Anton Bannykh
2021-11-24 23:04:38 +03:00
committed by TeamCityServer
parent 3be44a3540
commit d74ab1538b
8 changed files with 5 additions and 9 deletions
@@ -194,9 +194,9 @@ class JsEnvironmentConfigurator(testServices: TestServices) : EnvironmentConfigu
return files.any { JsEnvironmentConfigurationDirectives.RECOMPILE in it.directives }
}
fun incrementalEnabledFor(module: TestModule, testServices: TestServices): Boolean {
fun incrementalEnabled(testServices: TestServices): Boolean {
return JsEnvironmentConfigurationDirectives.SKIP_IR_INCREMENTAL_CHECKS !in testServices.moduleStructure.allDirectives &&
module.hasFilesToRecompile()
testServices.moduleStructure.modules.any { it.hasFilesToRecompile() }
}
}