[K/Wasm] Introduce stepping tests for Wasm

This commit is contained in:
Artem Kobzar
2023-08-15 17:03:11 +00:00
committed by Space Team
parent 577d0db3f1
commit 05ed134fbb
120 changed files with 4035 additions and 2359 deletions
@@ -1,3 +1,4 @@
// IGNORE_BACKEND: WASM
// WITH_STDLIB
// FILE: test.kt
suspend fun foo(block: Long.() -> String): String {
@@ -11,16 +12,16 @@ suspend fun box() {
}
// EXPECTATIONS JVM JVM_IR
// test.kt:8 box
// test.kt:4 foo
// test.kt:9 invoke
// test.kt:4 foo
// test.kt:8 box
// test.kt:11 box
// test.kt:9 box
// test.kt:5 foo
// test.kt:10 invoke
// test.kt:5 foo
// test.kt:9 box
// test.kt:12 box
// EXPECTATIONS JS_IR
// test.kt:8 doResume
// test.kt:4 foo
// test.kt:4 foo
// test.kt:9 box$lambda
// test.kt:11 doResume
// test.kt:9 doResume
// test.kt:5 foo
// test.kt:5 foo
// test.kt:10 box$lambda
// test.kt:12 doResume