Disable some android box test

This commit is contained in:
Mikhael Bogdanov
2021-01-28 18:21:38 +01:00
parent 0ad24f5346
commit 1c612376dd
4 changed files with 6 additions and 2 deletions
@@ -1,5 +1,6 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND_FIR: JVM_IR
package test
enum class KEnum { A }
@@ -9,5 +10,5 @@ fun test(e: KEnum): String {
fun box(): String {
val result = test(KEnum.A)
return if (result == "class KEnum") "OK" else "fail: $result"
return if (result == "class test.KEnum") "OK" else "fail: $result"
}
@@ -1,5 +1,6 @@
// WITH_REFLECT
// TARGET_BACKEND: JVM
package test
import kotlin.reflect.KClass
@@ -12,5 +13,5 @@ class C
fun box(): String {
val klass = (C::class.annotations.first() as Ann).c.toString()
return if (klass == "class IC") "OK" else klass
return if (klass == "class test.IC") "OK" else klass
}
@@ -1,4 +1,5 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: ANDROID
// WITH_RUNTIME
// FILE: ccc.kt
@@ -1,4 +1,5 @@
// TARGET_BACKEND: JVM
// IGNORE_BACKEND: ANDROID
// IGNORE_LIGHT_ANALYSIS
// WITH_RUNTIME
// !INHERIT_MULTIFILE_PARTS