Skip to content

Commit a43632e

Browse files
committed
TEST: Update reference tests
1 parent d7b4db0 commit a43632e

File tree

250 files changed

+6247
-6240
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

250 files changed

+6247
-6240
lines changed

tests/reference/asr-array_01_decl-39cf894.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-array_01_decl-39cf894.stdout",
9-
"stdout_hash": "dd9152135900885d4e4e13ad4877666492a73480c436267dd94567c0",
9+
"stdout_hash": "0ed2d7c2ac7662ba69cecf74c9603d4fe54d316cce75dff50faedd95",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_01_decl-39cf894.stdout

Lines changed: 78 additions & 78 deletions
Large diffs are not rendered by default.

tests/reference/asr-array_02_decl-e8f6874.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-array_02_decl-e8f6874.stdout",
9-
"stdout_hash": "ff86e48c2aec878635ceaddd671e0b89e6e20ad69c3944cd7dbfb88a",
9+
"stdout_hash": "a2c51866c5ab8a93fac1be7ddfcb7b0b1749a8fa32102ef07692ef06",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-array_02_decl-e8f6874.stdout

Lines changed: 60 additions & 60 deletions
Large diffs are not rendered by default.

tests/reference/asr-assert1-1ce92ea.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-assert1-1ce92ea.stdout",
9-
"stdout_hash": "8a7e90a3b3d9bd57d7f93f21b243f314cb58ea67fd5a2242d4be0f3f",
9+
"stdout_hash": "00b29b1b04860e7bdaae76da81c1237689ea5445ca16b8d95aa5af0a",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-assert1-1ce92ea.stdout

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
(SymbolTable
33
1
44
{
5-
_global_symbols:
5+
__main__:
66
(Module
77
(SymbolTable
8-
4
8+
2
99
{
1010
test_assert:
1111
(Function
1212
(SymbolTable
13-
2
13+
3
1414
{
1515
a:
1616
(Variable
17-
2
17+
3
1818
a
1919
[]
2020
Local
@@ -48,13 +48,13 @@
4848
[]
4949
[]
5050
[(=
51-
(Var 2 a)
51+
(Var 3 a)
5252
(IntegerConstant 5 (Integer 4))
5353
()
5454
)
5555
(Assert
5656
(IntegerCompare
57-
(Var 2 a)
57+
(Var 3 a)
5858
Eq
5959
(IntegerConstant 5 (Integer 4))
6060
(Logical 4)
@@ -67,7 +67,7 @@
6767
)
6868
(Assert
6969
(IntegerCompare
70-
(Var 2 a)
70+
(Var 3 a)
7171
NotEq
7272
(IntegerConstant 10 (Integer 4))
7373
(Logical 4)
@@ -82,15 +82,15 @@
8282
()
8383
)
8484
})
85-
_global_symbols
85+
__main__
8686
[]
8787
.false.
8888
.false.
8989
),
9090
main_program:
9191
(Program
9292
(SymbolTable
93-
3
93+
4
9494
{
9595

9696
})

tests/reference/asr-assign1-886f049.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-assign1-886f049.stdout",
9-
"stdout_hash": "74a62e38a7c86bbe0c0cbe8850cdf274aad2a4739d0544bd7966fe36",
9+
"stdout_hash": "4cdd1991fabb1b6a59d118593b39bf3eab57c06f0cbf95687cba61c4",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-assign1-886f049.stdout

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@
22
(SymbolTable
33
1
44
{
5-
_global_symbols:
5+
__main__:
66
(Module
77
(SymbolTable
8-
4
8+
2
99
{
1010
test_augassign:
1111
(Function
1212
(SymbolTable
13-
2
13+
3
1414
{
1515
a:
1616
(Variable
17-
2
17+
3
1818
a
1919
[]
2020
Local
@@ -30,7 +30,7 @@
3030
),
3131
r:
3232
(Variable
33-
2
33+
3
3434
r
3535
[]
3636
Local
@@ -46,7 +46,7 @@
4646
),
4747
s:
4848
(Variable
49-
2
49+
3
5050
s
5151
[]
5252
Local
@@ -80,14 +80,14 @@
8080
[]
8181
[]
8282
[(=
83-
(Var 2 r)
83+
(Var 3 r)
8484
(IntegerConstant 0 (Integer 4))
8585
()
8686
)
8787
(=
88-
(Var 2 r)
88+
(Var 3 r)
8989
(IntegerBinOp
90-
(Var 2 r)
90+
(Var 3 r)
9191
Add
9292
(IntegerConstant 4 (Integer 4))
9393
(Integer 4)
@@ -96,25 +96,25 @@
9696
()
9797
)
9898
(=
99-
(Var 2 s)
99+
(Var 3 s)
100100
(IntegerConstant 5 (Integer 4))
101101
()
102102
)
103103
(=
104-
(Var 2 r)
104+
(Var 3 r)
105105
(IntegerBinOp
106-
(Var 2 r)
106+
(Var 3 r)
107107
Mul
108-
(Var 2 s)
108+
(Var 3 s)
109109
(Integer 4)
110110
()
111111
)
112112
()
113113
)
114114
(=
115-
(Var 2 r)
115+
(Var 3 r)
116116
(IntegerBinOp
117-
(Var 2 r)
117+
(Var 3 r)
118118
Sub
119119
(IntegerConstant 2 (Integer 4))
120120
(Integer 4)
@@ -123,22 +123,22 @@
123123
()
124124
)
125125
(=
126-
(Var 2 s)
126+
(Var 3 s)
127127
(IntegerConstant 10 (Integer 4))
128128
()
129129
)
130130
(=
131-
(Var 2 r)
131+
(Var 3 r)
132132
(RealBinOp
133133
(Cast
134-
(Var 2 r)
134+
(Var 3 r)
135135
IntegerToReal
136136
(Real 8)
137137
()
138138
)
139139
Div
140140
(Cast
141-
(Var 2 s)
141+
(Var 3 s)
142142
IntegerToReal
143143
(Real 8)
144144
()
@@ -149,17 +149,17 @@
149149
()
150150
)
151151
(=
152-
(Var 2 a)
152+
(Var 3 a)
153153
(StringConstant
154154
""
155155
(Character 1 0 ())
156156
)
157157
()
158158
)
159159
(=
160-
(Var 2 a)
160+
(Var 3 a)
161161
(StringConcat
162-
(Var 2 a)
162+
(Var 3 a)
163163
(StringConstant
164164
"test"
165165
(Character 1 4 ())
@@ -176,15 +176,15 @@
176176
()
177177
)
178178
})
179-
_global_symbols
179+
__main__
180180
[]
181181
.false.
182182
.false.
183183
),
184184
main_program:
185185
(Program
186186
(SymbolTable
187-
3
187+
4
188188
{
189189

190190
})

tests/reference/asr-assign2-8d1a2ee.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"outfile": null,
77
"outfile_hash": null,
88
"stdout": "asr-assign2-8d1a2ee.stdout",
9-
"stdout_hash": "e4380cfb6a8bd7485d7e6a37bf142a92c61ec975a7767958df8281c3",
9+
"stdout_hash": "7bec7662e29763790b836536cc3a60aacdaf849a44e8cb9c5d4d3298",
1010
"stderr": null,
1111
"stderr_hash": null,
1212
"returncode": 0

tests/reference/asr-assign2-8d1a2ee.stdout

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
(SymbolTable
33
1
44
{
5-
_global_symbols:
5+
__main__:
66
(Module
77
(SymbolTable
8-
3
8+
2
99
{
1010
f:
1111
(Variable
12-
3
12+
2
1313
f
1414
[]
1515
Local
@@ -39,7 +39,7 @@
3939
),
4040
f2:
4141
(Variable
42-
3
42+
2
4343
f2
4444
[]
4545
Local
@@ -61,7 +61,7 @@
6161
),
6262
i:
6363
(Variable
64-
3
64+
2
6565
i
6666
[]
6767
Local
@@ -77,7 +77,7 @@
7777
),
7878
i2:
7979
(Variable
80-
3
80+
2
8181
i2
8282
[]
8383
Local
@@ -97,15 +97,15 @@
9797
.false.
9898
)
9999
})
100-
_global_symbols
100+
__main__
101101
[]
102102
.false.
103103
.false.
104104
),
105105
main_program:
106106
(Program
107107
(SymbolTable
108-
2
108+
3
109109
{
110110

111111
})

0 commit comments

Comments
 (0)