Skip to content

Commit dcef0d5

Browse files
correct old labels
1 parent 26a07ad commit dcef0d5

10 files changed

Lines changed: 32 additions & 44 deletions

tb/simstm/Array/array_labs.stm

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
array array_name_pos 3
22
var var_name_pos 0
33

4-
testArrayGetOutPos:
5-
proc
4+
proc testArrayGetOutPos ()
65
array get array_name_pos 3 var_name_pos
76
end proc
87

9-
testArraySetOutPos:
10-
proc
8+
9+
proc testArraySetOutPos ()
1110
array set array_name_pos 3 var_name_pos
1211
end proc

tb/simstm/Array/array_labs_zero_size.stm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
array array_name_zsz 0
22
var var_name_zsz 10
33

4-
testArrayZeroSize:
5-
proc
4+
5+
proc testArrayZeroSize ()
66
call startStandardTestShell ()
77

88
array size array_name_zsz var_name_zsz
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
proc testLabArrayGetOutPos ()
33

4-
call testArrayGetOutPos
4+
call testArrayGetOutPos ()
55
end proc
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11

22
proc testLabArraySetOutPos ()
3-
call testArraySetOutPos
3+
call testArraySetOutPos ()
44
end proc
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

22
proc testLabArrayZeroSize ()
33

4-
call testArrayZeroSize
4+
call testArrayZeroSize ()
55
end proc

tb/simstm/TestSuites/TestSuiteArray.stm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ proc testSuiteArray ()
33

44
label lblTestArray testArray
55
call testCase (
6-
label pointer copy TestToCall lblTestArray
6+
label equ TestToCall lblTestArray
77
)
88

99
label lblTestCaseArrayGet testArrayGet

tb/simstm/TestSuites/TestSuiteVariable.stm

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ proc testCaseVariableLd (
9292
var skipped 0
9393
)
9494
call beginTestCase ()
95-
call testVariableLd
95+
call testVariableLd ()
9696
call endTestCase (
9797
equ skipped skipped
9898
equ failure StandardTestFailure
@@ -104,7 +104,7 @@ proc testCaseVariableInv (
104104
var skipped 0
105105
)
106106
call beginTestCase ()
107-
call testVariableInv
107+
call testVariableInv ()
108108
call endTestCase (
109109
equ skipped skipped
110110
equ failure StandardTestFailure
@@ -116,7 +116,7 @@ proc testCaseVariableXor (
116116
var skipped 0
117117
)
118118
call beginTestCase ()
119-
call testVariableXor
119+
call testVariableXor ()
120120
call endTestCase (
121121
equ skipped skipped
122122
equ failure StandardTestFailure
@@ -128,7 +128,7 @@ proc testCaseVariableSub (
128128
var skipped 0
129129
)
130130
call beginTestCase ()
131-
call testVariableSub
131+
call testVariableSub ()
132132
call endTestCase (
133133
equ skipped skipped
134134
equ failure StandardTestFailure
@@ -140,7 +140,7 @@ proc testCaseVariableOr (
140140
var skipped 0
141141
)
142142
call beginTestCase ()
143-
call testVariableOr
143+
call testVariableOr ()
144144
call endTestCase (
145145
equ skipped skipped
146146
equ failure StandardTestFailure
@@ -152,7 +152,7 @@ proc testCaseVariableMul (
152152
var skipped 0
153153
)
154154
call beginTestCase ()
155-
call testVariableMul
155+
call testVariableMul ()
156156
call endTestCase (
157157
equ skipped skipped
158158
equ failure StandardTestFailure
@@ -164,7 +164,7 @@ proc testCaseVariableEqu (
164164
var skipped 0
165165
)
166166
call beginTestCase ()
167-
call testVariableEqu
167+
call testVariableEqu ()
168168
call endTestCase (
169169
equ skipped skipped
170170
equ failure StandardTestFailure
@@ -176,7 +176,7 @@ proc testCaseVariableDiv (
176176
var skipped 0
177177
)
178178
call beginTestCase ()
179-
call testVariableDiv
179+
call testVariableDiv ()
180180
call endTestCase (
181181
equ skipped skipped
182182
equ failure StandardTestFailure
@@ -188,7 +188,7 @@ proc testCaseVariableAnd (
188188
var skipped 0
189189
)
190190
call beginTestCase ()
191-
call testVariableAnd
191+
call testVariableAnd ()
192192
call endTestCase (
193193
equ skipped skipped
194194
equ failure StandardTestFailure
@@ -200,7 +200,7 @@ proc testCaseVariableAdd (
200200
var skipped 0
201201
)
202202
call beginTestCase ()
203-
call testVariableAdd
203+
call testVariableAdd ()
204204
call endTestCase (
205205
equ skipped skipped
206206
equ failure StandardTestFailure

tb/simstm/Variable/variable.stm

Lines changed: 10 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
var test_variable_add_1 1
22
var test_variable_add_2 2
33

4-
testVariableAdd:
5-
proc
4+
proc testVariableAdd ()
65
call startStandardTestShell ()
76

87
log message 0 "test_variable_1: {:d}" test_variable_add_1
@@ -31,8 +30,7 @@ end proc
3130
var test_variable_and_1 0xAAAA
3231
var test_variable_and_2 0x77777777
3332

34-
testVariableAnd:
35-
proc
33+
proc testVariableAnd ()
3634
call startStandardTestShell ()
3735

3836
log message 0 "test_variable_1: {:x}" test_variable_and_1
@@ -61,8 +59,7 @@ end proc
6159
var test_variable_div_1 500
6260
var test_variable_div_2 5000
6361

64-
testVariableDiv:
65-
proc
62+
proc testVariableDiv ()
6663
call startStandardTestShell ()
6764

6865
log message 0 "test_variable_1: {:d}" test_variable_div_1
@@ -94,8 +91,7 @@ var test_variable_equ_3 3
9491
var test_variable_equ_4 4
9592
var test_variable_equ_5 5
9693

97-
testVariableEqu:
98-
proc
94+
proc testVariableEqu ()
9995
call startStandardTestShell ()
10096

10197
log message 0 "test_variable_1: {:d}" test_variable_equ_1
@@ -144,8 +140,7 @@ end proc
144140
var test_variable_mul_1 1
145141
var test_variable_mul_2 2
146142

147-
testVariableMul:
148-
proc
143+
proc testVariableMul ()
149144
call startStandardTestShell ()
150145

151146
log message 0 "test_variable_1: {:d}" test_variable_mul_1
@@ -175,8 +170,7 @@ end proc
175170
var test_variable_or_1 0x1234
176171
var test_variable_or_2 0x80000000
177172

178-
testVariableOr:
179-
proc
173+
proc testVariableOr ()
180174
call startStandardTestShell ()
181175

182176
log message 0 "test_variable_1: {}" test_variable_or_1
@@ -205,8 +199,7 @@ end proc
205199
var test_variable_sub_1 12345
206200
var test_variable_sub_2 88
207201

208-
testVariableSub:
209-
proc
202+
proc testVariableSub ()
210203
call startStandardTestShell ()
211204

212205
log message 0 "test_variable_1: {:d}" test_variable_sub_1
@@ -235,8 +228,7 @@ end proc
235228
var test_variable_xor_1 0xFFFFFFFF
236229
var test_variable_xor_2 0x00000000
237230

238-
testVariableXor:
239-
proc
231+
proc testVariableXor ()
240232
call startStandardTestShell ()
241233

242234
log message 0 "test_variable_1: {}" test_variable_xor_1
@@ -265,8 +257,7 @@ end proc
265257
var test_variable_inv_1 0x12345678
266258
var test_variable_inv_2 0x0FEDCBA9
267259

268-
testVariableInv:
269-
proc
260+
proc testVariableInv ()
270261
call startStandardTestShell ()
271262

272263
log message 0 "test_variable_1: {}" test_variable_inv_1
@@ -296,8 +287,7 @@ end proc
296287
var test_variable_ld_1 0x1000
297288
var test_variable_ld_2 0x80000000
298289

299-
testVariableLd:
300-
proc
290+
proc testVariableLd ()
301291
call startStandardTestShell ()
302292

303293
log message 0 "test_variable_1: {}" test_variable_ld_1

tb/simstm/testMain.stm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ include "Label/label.stm"
5151
lines success_lines
5252
file simulation_success "simulation.success"
5353

54-
testMain:
55-
proc
54+
55+
proc testMain ()
5656
call initBase ()
5757

5858
verbosity INFO_2

tb/simstm/testMainSuiteFile.stm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ include "File/file_local.stm"
99
include "File/file_parameter.stm"
1010
include "File/file_pointer.stm"
1111

12-
testMainSuiteFile:
13-
proc
12+
proc testMainSuiteFile ()
1413
call initBase ()
1514

1615
verbosity INFO_2

0 commit comments

Comments
 (0)