Skip to content

Commit e02eaf7

Browse files
mcpiromanSpace Team
authored andcommitted
[Tests] Drop K1 variants of JS and Wasm stepping test golden data
There are only K2 variants of those tests now, K1 data is ignored. KT-79243 KT-79244
1 parent 532a1f9 commit e02eaf7

15 files changed

+1
-180
lines changed

compiler/testData/debug/stepping/IfTrueThenFalse.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ fun box() {
1919
// EXPECTATIONS JS_IR
2020
// test.kt:6 box
2121
// test.kt:3 cond
22-
// EXPECTATIONS FIR JS_IR
2322
// test.kt:9 box
24-
// EXPECTATIONS JS_IR
2523
// test.kt:10 box
2624

2725
// EXPECTATIONS WASM

compiler/testData/debug/stepping/annotatedLocalVariable.kt

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,6 @@ fun box() {
3535
// test.kt:17 box
3636
// test.kt:18 box
3737

38-
// EXPECTATIONS JS_IR ClassicFrontend
39-
// test.kt:8 box
40-
// test.kt:10 box
41-
// test.kt:13 box
42-
// test.kt:16 box
43-
// test.kt:17 box
44-
// test.kt:18 box
45-
4638
// EXPECTATIONS WASM FIR
4739
// test.kt:8 $box (17)
4840
// test.kt:11 $box (13)
@@ -51,12 +43,3 @@ fun box() {
5143
// test.kt:16 $box (8)
5244
// test.kt:17 $box (4)
5345
// test.kt:18 $box (1)
54-
55-
// EXPECTATIONS WASM ClassicFrontend
56-
// test.kt:8 $box (17)
57-
// test.kt:10 $box (4)
58-
// test.kt:13 $box (8, 4)
59-
// test.kt:14 $box (4)
60-
// test.kt:16 $box (8)
61-
// test.kt:17 $box (4)
62-
// test.kt:18 $box (1)

compiler/testData/debug/stepping/annotatedProperty.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,14 +55,8 @@ fun box() {
5555
// test.kt:15 $box (12)
5656
// test.kt:8 $C.<init> (17)
5757
// test.kt:12 $C.<init> (1)
58-
// EXPECTATIONS WASM ClassicFrontend
59-
// test.kt:17 $box (4, 10, 4)
60-
// test.kt:18 $box (4, 6)
61-
// test.kt:20 $box (4, 10, 4)
62-
// EXPECTATIONS WASM FIR
6358
// test.kt:17 $box (4, 10, 6)
6459
// test.kt:18 $box (4, 6)
6560
// test.kt:20 $box (4, 10, 6)
66-
// EXPECTATIONS WASM
6761
// test.kt:21 $box (4, 6)
6862
// test.kt:22 $box (1)

compiler/testData/debug/stepping/dataClass.kt

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -61,63 +61,7 @@ fun box() {
6161
// test.kt:25 box
6262
// test.kt:26 box
6363

64-
// EXPECTATIONS ClassicFrontend JS_IR
65-
// test.kt:14 box
66-
// test.kt:4 <init>
67-
// test.kt:4 <init>
68-
// test.kt:4 <init>
69-
// test.kt:15 box
70-
// test.kt:4 <init>
71-
// test.kt:4 <init>
72-
// test.kt:4 <init>
73-
// test.kt:15 box
74-
// test.kt:1 equals
75-
// test.kt:1 equals
76-
// test.kt:1 equals
77-
// test.kt:1 equals
78-
// test.kt:1 equals
79-
// test.kt:16 box
80-
// test.kt:1 hashCode
81-
// test.kt:1 hashCode
82-
// test.kt:17 box
83-
// test.kt:1 toString
84-
// test.kt:18 box
85-
// test.kt:1 component1
86-
// test.kt:18 box
87-
// test.kt:1 component2
88-
// test.kt:19 box
89-
// test.kt:1 copy$default
90-
// test.kt:1 copy$default
91-
// test.kt:1 copy
92-
// test.kt:4 <init>
93-
// test.kt:4 <init>
94-
// test.kt:4 <init>
95-
// test.kt:20 box
96-
// test.kt:6 <init>
97-
// test.kt:6 <init>
98-
// test.kt:6 <init>
99-
// test.kt:21 box
100-
// test.kt:6 <init>
101-
// test.kt:6 <init>
102-
// test.kt:6 <init>
103-
// test.kt:21 box
104-
// test.kt:8 equals
105-
// test.kt:22 box
106-
// test.kt:9 hashCode
107-
// test.kt:23 box
108-
// test.kt:7 toString
109-
// test.kt:24 box
110-
// test.kt:1 component1
111-
// test.kt:24 box
112-
// test.kt:1 component2
113-
// test.kt:25 box
114-
// test.kt:10 copy
115-
// test.kt:6 <init>
116-
// test.kt:6 <init>
117-
// test.kt:6 <init>
118-
// test.kt:26 box
119-
120-
// EXPECTATIONS FIR JS_IR // TODO: There is an inconsistency in names between K1 and K2. This should be fixed in KT-64435.
64+
// EXPECTATIONS FIR JS_IR
12165
// test.kt:14 box
12266
// test.kt:4 <init>
12367
// test.kt:4 <init>

compiler/testData/debug/stepping/delegateMemberVal.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,7 @@ fun box() {
6666
// test.kt:10 <init>
6767
// test.kt:2 <init>
6868
// test.kt:19 box
69-
// EXPECTATIONS ClassicFrontend JS_IR
70-
// test.kt:4 <get-z>
71-
// EXPECTATIONS FIR JS_IR
7269
// test.kt:5 <get-z>
73-
// EXPECTATIONS JS_IR
7470
// test.kt:5 <get-z>
7571
// test.kt:5 <get-z>
7672
// test.kt:14 getValue

compiler/testData/debug/stepping/delegatedProperty.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -75,24 +75,14 @@ fun box() {
7575
// test.kt:10 <init>
7676
// test.kt:4 <init>
7777
// test.kt:22 box
78-
// EXPECTATIONS ClassicFrontend JS_IR
79-
// test.kt:6 <get-x>
8078
// test.kt:7 <get-x>
81-
// EXPECTATIONS FIR JS_IR
8279
// test.kt:7 <get-x>
8380
// test.kt:7 <get-x>
84-
// EXPECTATIONS JS_IR
85-
// test.kt:7 <get-x>
8681
// test.kt:12 getValue
8782
// test.kt:23 box
88-
// EXPECTATIONS ClassicFrontend JS_IR
89-
// test.kt:6 <set-x>
9083
// test.kt:7 <set-x>
91-
// EXPECTATIONS FIR JS_IR
9284
// test.kt:7 <set-x>
9385
// test.kt:7 <set-x>
94-
// EXPECTATIONS JS_IR
95-
// test.kt:7 <set-x>
9686
// test.kt:16 setValue
9787
// test.kt:17 setValue
9888
// test.kt:24 box
@@ -106,11 +96,7 @@ fun box() {
10696
// test.kt:22 $box (13, 15)
10797
// test.kt:12 $B.getValue (15, 8)
10898
// test.kt:22 $box (15)
109-
// EXPECTATIONS ClassicFrontend WASM
110-
// test.kt:23 $box (4, 10, 4)
111-
// EXPECTATIONS FIR WASM
11299
// test.kt:23 $box (4, 10, 6)
113-
// EXPECTATIONS WASM
114100
// test.kt:16 $B.setValue (19, 28)
115101
// test.kt:17 $B.setValue (5)
116102
// test.kt:24 $box (1)

compiler/testData/debug/stepping/enum.kt

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,6 @@ fun box() {
7373
// test.kt:10 $E.foo (5)
7474
// test.kt:23 $box (8)
7575
// test.kt:24 $box (7)
76-
77-
// EXPECTATIONS ClassicFrontend WASM
78-
// test.kt:16 $E2_initEntries (4, 6, 4)
79-
// test.kt:15 $E2.<init> (14, 26)
80-
// test.kt:16 $E2_initEntries (4)
81-
// test.kt:17 $E2_initEntries (4)
82-
// test.kt:18 $E2_initEntries (8)
83-
// test.kt:17 $E2_initEntries (4)
84-
// test.kt:15 $E2.<init> (14, 26)
85-
// test.kt:17 $E2_initEntries (4)
86-
87-
// EXPECTATIONS FIR WASM
8876
// test.kt:16 $E2_initEntries (5, 6, 5)
8977
// test.kt:15 $E2.<init> (14, 26)
9078
// test.kt:16 $E2_initEntries (5)
@@ -93,7 +81,5 @@ fun box() {
9381
// test.kt:17 $E2_initEntries (5)
9482
// test.kt:15 $E2.<init> (14, 26)
9583
// test.kt:17 $E2_initEntries (5)
96-
97-
// EXPECTATIONS WASM
9884
// test.kt:24 $box (7)
9985
// test.kt:25 $box (1)

compiler/testData/debug/stepping/if.kt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,8 @@ inline fun getB(): Int {
2525
// test.kt:15 box
2626
// test.kt:9 box
2727

28-
// EXPECTATIONS ClassicFrontend JS_IR
29-
// test.kt:5 box
3028
// EXPECTATIONS FIR JS_IR
3129
// test.kt:6 box
32-
// EXPECTATIONS JS_IR
3330
// test.kt:12 getA
3431
// test.kt:9 box
3532

compiler/testData/debug/stepping/ifThenElseFalse.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,15 @@ fun box() {
4040
// test.kt:16 box
4141
// test.kt:9 foo
4242
// test.kt:6 cond
43-
// EXPECTATIONS FIR JS_IR
4443
// test.kt:12 foo
45-
// EXPECTATIONS JS_IR
4644
// test.kt:13 foo
4745
// test.kt:17 box
4846
// test.kt:18 box
4947
// test.kt:9 foo
5048
// test.kt:6 cond
5149
// test.kt:10 foo
5250
// test.kt:6 cond
53-
// EXPECTATIONS FIR JS_IR
5451
// test.kt:12 foo
55-
// EXPECTATIONS JS_IR
5652
// test.kt:13 foo
5753
// test.kt:19 box
5854

compiler/testData/debug/stepping/ifWithInlineInCondition.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,7 @@ fun nop() {}
6060
// test.kt:5 box
6161
// test.kt:31 nop
6262
// test.kt:25 box
63-
// EXPECTATIONS FIR JS_IR
6463
// test.kt:9 box
65-
// EXPECTATIONS ClassicFrontend JS_IR
66-
// test.kt:8 box
67-
// EXPECTATIONS JS_IR
6864
// test.kt:12 box
6965
// test.kt:31 nop
7066
// test.kt:20 box

0 commit comments

Comments
 (0)