Temporarily unmute passing test around IS_PRE_RELEASE (related to KT-62063)

This test (probably) should be muted again after bootstrapping
This commit is contained in:
Mikhail Glukhikh
2024-03-12 16:49:12 +01:00
committed by Space Team
parent f37347ddb7
commit 93a796b635
@@ -75,16 +75,16 @@ class FirCompileKotlinAgainstCustomBinariesTest : AbstractCompileKotlinAgainstCu
} }
fun testPreReleaseFlagIsConsistentBetweenStdlibAndCurrentCompiler() { fun testPreReleaseFlagIsConsistentBetweenStdlibAndCurrentCompiler() {
try { // try {
val stdlib = JarFile(PathUtil.kotlinPathsForCompiler.stdlibPath) val stdlib = JarFile(PathUtil.kotlinPathsForCompiler.stdlibPath)
val classFromStdlib = stdlib.getEntry(KotlinVersion::class.java.name.replace(".", "/") + ".class") val classFromStdlib = stdlib.getEntry(KotlinVersion::class.java.name.replace(".", "/") + ".class")
checkPreReleaseness( checkPreReleaseness(
stdlib.getInputStream(classFromStdlib).readBytes(), stdlib.getInputStream(classFromStdlib).readBytes(),
KotlinCompilerVersion.isPreRelease() KotlinCompilerVersion.isPreRelease()
) )
} catch (e: Throwable) { // } catch (e: Throwable) {
return // return
} // }
error("Looks like test can be unmuted") // error("Looks like test can be unmuted")
} }
} }