[Tests] fix compilation.log contents

Do not override stdout because we want to check output of both streams.
This commit is contained in:
Sergey Bogolepov
2020-10-16 15:49:34 +07:00
committed by Stanislav Erokhin
parent f2861e5d11
commit f2fae3d1b2
@@ -380,7 +380,7 @@ open class KonanDriverTest : KonanStandaloneTest() {
it.print("Konanc compiler execution:")
project.file("$executable.compilation.log").run {
writeText(it.stdOut)
writeText(it.stdErr)
appendText(it.stdErr)
}
check(it.exitCode == 0) { "Compiler failed with exit code ${it.exitCode}" }
}