Mute testVersionsAreConsistent test (KT-35567)

This commit is contained in:
Nikolay Krasko
2019-12-19 13:40:17 +03:00
parent 650cfeaaed
commit 2c684c56a3
4 changed files with 15 additions and 7 deletions
@@ -20,6 +20,7 @@ import com.intellij.openapi.util.io.FileUtil
import org.jetbrains.kotlin.codegen.forTestCompile.ForTestCompileRuntime
import org.jetbrains.kotlin.config.KotlinCompilerVersion
import org.jetbrains.kotlin.config.LanguageVersion
import org.jetbrains.kotlin.test.isIgnoredInDatabaseWithLog
import org.jetbrains.kotlin.test.testFramework.KtUsefulTestCase
import org.jetbrains.kotlin.utils.addIfNotNull
import org.junit.Assert
@@ -141,4 +142,8 @@ class KotlinVersionsTest : KtUsefulTestCase() {
}
private fun Collection<Any>.areEqual(): Boolean = all(first()::equals)
override fun shouldRunTest(): Boolean {
return super.shouldRunTest() && !isIgnoredInDatabaseWithLog(this)
}
}