[K/N] Debug output for flaky test
Compiler output for testReleaseCompilerAgainstPreReleaseLibrary added ^KT-64822
This commit is contained in:
committed by
Space Team
parent
8d1a90c23c
commit
f502edd1de
+4
@@ -129,6 +129,10 @@ abstract class CompilerOutputTestBase : AbstractNativeSimpleTest() {
|
|||||||
internal fun TestCompilationResult<*>.toOutput(): String {
|
internal fun TestCompilationResult<*>.toOutput(): String {
|
||||||
check(this is TestCompilationResult.ImmediateResult<*>) { this }
|
check(this is TestCompilationResult.ImmediateResult<*>) { this }
|
||||||
val loggedData = this.loggedData
|
val loggedData = this.loggedData
|
||||||
|
|
||||||
|
// Debug output for KT-64822 investigation
|
||||||
|
println("Compiler logged data:\n$loggedData")
|
||||||
|
|
||||||
check(loggedData is LoggedData.CompilationToolCall) { loggedData::class }
|
check(loggedData is LoggedData.CompilationToolCall) { loggedData::class }
|
||||||
return normalizeOutput(loggedData.toolOutput, loggedData.exitCode)
|
return normalizeOutput(loggedData.toolOutput, loggedData.exitCode)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user