[K/N][Tests] Adjust moved codegen tests to new infra
^KT-61259
This commit is contained in:
committed by
Space Team
parent
71a834b778
commit
73032213f0
+5
-1
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user