[K/N][Tests] Adjust moved codegen tests to new infra

^KT-61259
This commit is contained in:
Vladimir Sukharev
2023-12-14 20:14:47 +01:00
committed by Space Team
parent 71a834b778
commit 73032213f0
295 changed files with 1362 additions and 1145 deletions
@@ -2,6 +2,8 @@
* Copyright 2010-2021 JetBrains s.r.o. and Kotlin Programming Language contributors.
* Use of this source code is governed by the Apache 2.0 license that can be found in the license/LICENSE.txt file.
*/
// KT-64408: when undisabled (by removing next line), the compiled .kexe wrongly contains no tests
// DISABLE_NATIVE: cacheMode=STATIC_PER_FILE_EVERYWHERE
// FILE: lib.kt
@ThreadLocal
@@ -27,8 +29,10 @@ val y2 = run { z3 = true; 117 }
// FILE: main.kt
import kotlin.test.*
fun main() {
fun box(): String {
assertTrue(z1)
assertFalse(z2)
assertFalse(z3)
return "OK"
}