[K/N] Deprecate and remove from supported list relaxed memory model

This commit is contained in:
Elena Lepilkina
2021-10-28 15:39:23 +03:00
committed by Space
parent f67941e244
commit 1b4ee63f30
4 changed files with 9 additions and 11 deletions
@@ -314,11 +314,7 @@ open class KonanLocalTest : KonanTest() {
// TODO: as for now it captures output only in the driver task.
// It should capture output from the build task using Gradle's LoggerManager and LoggerOutput
val compilationLog = project.file("$executable.compilation.log").readText()
// TODO: ugly hack to fix irrelevant warnings.
val filteredCompilationLog = compilationLog.split('\n').filter {
it != "warning: relaxed memory model is not yet fully functional"
}.joinToString(separator = "\n")
output.stdOut = filteredCompilationLog + output.stdOut
output.stdOut = compilationLog + output.stdOut
}
output.check()
output.print()