[Test] Unmute test due to KT-62058

This commit is contained in:
Dmitriy Novozhilov
2023-10-20 09:58:16 +03:00
committed by Space Team
parent 33e9ed37e4
commit 8b03636b3b
@@ -61,17 +61,12 @@ class FirCompileKotlinAgainstCustomBinariesTest : AbstractCompileKotlinAgainstCu
// If this test fails, then bootstrap compiler most likely should be advanced // If this test fails, then bootstrap compiler most likely should be advanced
fun testPreReleaseFlagIsConsistentBetweenBootstrapAndCurrentCompiler() { fun testPreReleaseFlagIsConsistentBetweenBootstrapAndCurrentCompiler() {
try { val bootstrapCompiler = JarFile(PathUtil.kotlinPathsForCompiler.compilerPath)
val bootstrapCompiler = JarFile(PathUtil.kotlinPathsForCompiler.compilerPath) val classFromBootstrapCompiler = bootstrapCompiler.getEntry(LanguageFeature::class.java.name.replace(".", "/") + ".class")
val classFromBootstrapCompiler = bootstrapCompiler.getEntry(LanguageFeature::class.java.name.replace(".", "/") + ".class") checkPreReleaseness(
checkPreReleaseness( bootstrapCompiler.getInputStream(classFromBootstrapCompiler).readBytes(),
bootstrapCompiler.getInputStream(classFromBootstrapCompiler).readBytes(), KotlinCompilerVersion.isPreRelease()
KotlinCompilerVersion.isPreRelease() )
)
} catch (e: Throwable) {
return
}
error("Looks like test can be unmuted")
} }
fun testPreReleaseFlagIsConsistentBetweenStdlibAndCurrentCompiler() { fun testPreReleaseFlagIsConsistentBetweenStdlibAndCurrentCompiler() {