[Test] Convert IGNORE: NATIVE directives in box tests from M to R

^KT-59057

Merge-request: KT-MR-10757
Merged-by: Vladimir Sukharev <Vladimir.Sukharev@jetbrains.com>
This commit is contained in:
Vladimir Sukharev
2023-06-23 14:15:48 +00:00
committed by Space Team
parent d0dc292c30
commit 7930885131
28 changed files with 102 additions and 521 deletions
@@ -1,14 +1,7 @@
// IGNORE_BACKEND: WASM
// WASM_MUTE_REASON: IGNORED_IN_JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
// TODO: muted automatically, investigate should it be ran for JS or not
// IGNORE_BACKEND: JS, NATIVE
var boxtest_log: String = ""
fun box(): String? {
val log = System.getProperty("boxtest.log")
System.clearProperty("boxtest.log") // test can be run twice
return if (log == "bca") "OK" else log
fun box(): String {
return if (boxtest_log == "bca") "OK" else boxtest_log
}
val b = log("b")
@@ -16,6 +9,5 @@ val c = log("c")
val a = log("a")
fun log(message: String) {
val value = (System.getProperty("boxtest.log") ?: "") + message
System.setProperty("boxtest.log", value)
}
boxtest_log += message
}