Add android ignore directives for debug mode tests
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -42,7 +43,7 @@ fun box(): String {
|
||||
test()
|
||||
}
|
||||
|
||||
val continuationName = "Continuation at BackEdgeKt\$box\$1.invokeSuspend(backEdge.kt:42)"
|
||||
val continuationName = "Continuation at BackEdgeKt\$box\$1.invokeSuspend(backEdge.kt:43)"
|
||||
if (spilledVariables != setOf("label" to "1", "I$0" to "0", "L$0" to continuationName, "L$1" to "null")) return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "2", "I$0" to "0", "L$0" to continuationName, "L$1" to "a")) return "FAIL 2: $spilledVariables"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -51,7 +52,7 @@ fun box(): String {
|
||||
test(true)
|
||||
}
|
||||
|
||||
var continuationName = "Continuation at IfKt\$box\$1.invokeSuspend(if.kt:51)"
|
||||
var continuationName = "Continuation at IfKt\$box\$1.invokeSuspend(if.kt:52)"
|
||||
if (spilledVariables != setOf("label" to "1", "Z$0" to "true", "L$0" to continuationName, "L$1" to "a1", "L$2" to "null"))
|
||||
return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
@@ -65,7 +66,7 @@ fun box(): String {
|
||||
test(false)
|
||||
}
|
||||
|
||||
continuationName = "Continuation at IfKt\$box\$2.invokeSuspend(if.kt:65)"
|
||||
continuationName = "Continuation at IfKt\$box\$2.invokeSuspend(if.kt:66)"
|
||||
if (spilledVariables != setOf("label" to "2", "Z$0" to "false", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2")) return "FAIL 4: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "3", "Z$0" to "false", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2")) return "FAIL 5: $spilledVariables"
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -46,7 +47,7 @@ fun box(): String {
|
||||
test()
|
||||
}
|
||||
|
||||
val continuationName = "Continuation at NullCleanupKt\$box\$1.invokeSuspend(nullCleanup.kt:46)"
|
||||
val continuationName = "Continuation at NullCleanupKt\$box\$1.invokeSuspend(nullCleanup.kt:47)"
|
||||
if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "a")) return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "[a]")) return "FAIL 2: $spilledVariables"
|
||||
|
||||
+2
-1
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -44,7 +45,7 @@ fun box(): String {
|
||||
test()
|
||||
}
|
||||
|
||||
val continuationName = "Continuation at NullNotSpillKt\$box\$1.invokeSuspend(nullNotSpill.kt:44)"
|
||||
val continuationName = "Continuation at NullNotSpillKt\$box\$1.invokeSuspend(nullNotSpill.kt:45)"
|
||||
if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "null")) return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "[null]")) return "FAIL 2: $spilledVariables"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -44,7 +45,7 @@ fun box(): String {
|
||||
test()
|
||||
}
|
||||
|
||||
val continuationName = "Continuation at SimpleKt\$box\$1.invokeSuspend(simple.kt:44)"
|
||||
val continuationName = "Continuation at SimpleKt\$box\$1.invokeSuspend(simple.kt:45)"
|
||||
if (spilledVariables != setOf("label" to "1", "L$0" to continuationName, "L$1" to "a", "L$2" to "null")) return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "2", "L$0" to continuationName, "L$1" to "a", "L$2" to "[a]")) return "FAIL 2: $spilledVariables"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -45,7 +46,7 @@ fun box(): String {
|
||||
test("a", "b")
|
||||
}
|
||||
|
||||
val continuationName = "Continuation at TwoRefsKt\$box\$1.invokeSuspend(twoRefs.kt:45)"
|
||||
val continuationName = "Continuation at TwoRefsKt\$box\$1.invokeSuspend(twoRefs.kt:46)"
|
||||
if (spilledVariables != setOf("label" to "1", "L$0" to "a", "L$1" to "b", "L$2" to continuationName, "L$3" to "null")) return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
if (spilledVariables != setOf("label" to "2", "L$0" to "a", "L$1" to "b", "L$2" to continuationName, "L$3" to "[a]")) return "FAIL 2: $spilledVariables"
|
||||
|
||||
+1
@@ -1,6 +1,7 @@
|
||||
// WITH_STDLIB
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
// FULL_JDK
|
||||
// TARGET_BACKEND: JVM_IR
|
||||
// IGNORE_BACKEND: JVM
|
||||
// IGNORE_BACKEND: ANDROID
|
||||
import kotlin.coroutines.*
|
||||
import kotlin.coroutines.intrinsics.*
|
||||
|
||||
@@ -61,7 +62,7 @@ fun box(): String {
|
||||
test(0)
|
||||
}
|
||||
|
||||
var continuationName = "Continuation at WhenKt\$box\$1.invokeSuspend(when.kt:61)"
|
||||
var continuationName = "Continuation at WhenKt\$box\$1.invokeSuspend(when.kt:62)"
|
||||
if (spilledVariables != setOf("label" to "1", "I$0" to "0", "I$1" to "0", "I$2" to "0", "L$0" to continuationName, "L$1" to "a0", "L$2" to "null"))
|
||||
return "FAIL 1: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
@@ -75,7 +76,7 @@ fun box(): String {
|
||||
test(1)
|
||||
}
|
||||
|
||||
continuationName = "Continuation at WhenKt\$box\$2.invokeSuspend(when.kt:75)"
|
||||
continuationName = "Continuation at WhenKt\$box\$2.invokeSuspend(when.kt:76)"
|
||||
if (spilledVariables != setOf("label" to "2", "I$0" to "1", "I$1" to "1", "I$2" to "0", "L$0" to continuationName, "L$1" to "a1", "L$2" to "b1"))
|
||||
return "FAIL 4: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
@@ -89,7 +90,7 @@ fun box(): String {
|
||||
test(2)
|
||||
}
|
||||
|
||||
continuationName = "Continuation at WhenKt\$box\$3.invokeSuspend(when.kt:89)"
|
||||
continuationName = "Continuation at WhenKt\$box\$3.invokeSuspend(when.kt:90)"
|
||||
if (spilledVariables != setOf("label" to "3", "I$0" to "2", "I$1" to "2", "I$2" to "1", "L$0" to continuationName, "L$1" to "a2", "L$2" to "b2"))
|
||||
return "FAIL 7: $spilledVariables"
|
||||
c?.resume(Unit)
|
||||
|
||||
Reference in New Issue
Block a user