Skip to content

Commit

Permalink
TEST: Updated reference tests
Browse files Browse the repository at this point in the history
  • Loading branch information
czgdp1807 committed Nov 11, 2023
1 parent e7c56ab commit 09493ac
Show file tree
Hide file tree
Showing 70 changed files with 35 additions and 329 deletions.
2 changes: 1 addition & 1 deletion tests/reference/asr-array_01_decl-39cf894.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-array_01_decl-39cf894.stdout",
"stdout_hash": "1faebd012adf52a67e912023e64747cd86287bca16bcd3551011da5a",
"stdout_hash": "489d2e6a364cc6020f2942b94738849349928901f1269b975a6e2464",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
5 changes: 0 additions & 5 deletions tests/reference/asr-array_01_decl-39cf894.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_i16_array
()
Expand All @@ -902,7 +901,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_i32_array
()
Expand All @@ -926,7 +924,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_i64_array
()
Expand All @@ -950,7 +947,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_f32_array
()
Expand All @@ -974,7 +970,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_f64_array
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-array_02_decl-e8f6874.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-array_02_decl-e8f6874.stdout",
"stdout_hash": "87598ba9c49806e4e943c164621a63720d3ff12ad599f3dd0eabe85a",
"stdout_hash": "51a219ffb9a2c93f90e7a7c2928ef6f229796a81c72b03208be94602",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
4 changes: 0 additions & 4 deletions tests/reference/asr-array_02_decl-e8f6874.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_multidim_i32_array
()
Expand All @@ -710,7 +709,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_multidim_i64_array
()
Expand Down Expand Up @@ -738,7 +736,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_multidim_f32_array
()
Expand All @@ -762,7 +759,6 @@
()
)
(Print
()
[(FunctionCall
2 accept_multidim_f64_array
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-bindc_01-6d521a9.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-bindc_01-6d521a9.stdout",
"stdout_hash": "ec7543eae1d1bbaeba72993e35e98165ba0248ab59dc6597f9c50e7b",
"stdout_hash": "2a346b7a00bd685bde6e5c686bda4012fa442eac78bf03bad9d846aa",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-bindc_01-6d521a9.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
()
)
(Print
()
[(Var 2 queries)
(Var 2 x)]
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-bindc_02-bc1a7ea.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-bindc_02-bc1a7ea.stdout",
"stdout_hash": "7e3c2190d73d9f8614974002f89340fbd517b3e44d0a5ee3941e08de",
"stdout_hash": "96d620a26be932ce9f2bcddc31e7f6bebefc49f82923c3605b9b828c",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
4 changes: 0 additions & 4 deletions tests/reference/asr-bindc_02-bc1a7ea.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
)
)
(Print
()
[(Var 2 queries)
(Var 2 x)]
()
Expand Down Expand Up @@ -231,7 +230,6 @@
()
)
(Print
()
[(GetPointer
(Var 209 y)
(Pointer
Expand All @@ -249,7 +247,6 @@
()
)
(Print
()
[(ArrayItem
(Var 209 yptr1)
[(()
Expand Down Expand Up @@ -342,7 +339,6 @@
)
)
(Print
()
[(Var 209 yq)
(Var 209 yptr1)]
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-c_interop1-cf2e9b4.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-c_interop1-cf2e9b4.stdout",
"stdout_hash": "9801d10f9a077b9618063bdc3ab6905625e0469a40b17a3f805419e7",
"stdout_hash": "f63eac62a8e739f07a2ecd8acf5d872843e4721733736acf1cbff922",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-c_interop1-cf2e9b4.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@
(Var 6 c)
(Var 6 d)]
[(Print
()
[(StringConstant
"OK"
(Character 1 2 ())
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-doconcurrentloop_01-3fdc189.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-doconcurrentloop_01-3fdc189.stdout",
"stdout_hash": "0975f7d22eeb12c370338f1c6b5edb6292a8f4e076cb484ccab66b06",
"stdout_hash": "b87f31e0e98b1ec330df01b0f8eafa390b61858a9e559e149e27c2a6",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-doconcurrentloop_01-3fdc189.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@
()
)
(Print
()
[(StringConstant
"End Stream Triad"
(Character 1 16 ())
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_01-211000e.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_01-211000e.stdout",
"stdout_hash": "41ef0d077c9deb5cbf309b21493b9d6780254a09a635e4c01dcc096e",
"stdout_hash": "55ef3fa5588fa753b58860ce4178bd454bce8e1c5c26842bcfe15bbd",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-expr_01-211000e.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@
()
)
(Print
()
[(Var 3 x)]
()
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_07-7742668.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_07-7742668.stdout",
"stdout_hash": "05202a24fb95d20a4ae8d229b4bcd3729916613a20603101197da0f8",
"stdout_hash": "3d6f2e6a2f297f77eb89fa3169ada477efb4806398d84d425db7ee4b",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
3 changes: 0 additions & 3 deletions tests/reference/asr-expr_07-7742668.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@
()
)
(Print
()
[(Cast
(LogicalConstant
.true.
Expand Down Expand Up @@ -289,7 +288,6 @@
()
)
(Print
()
[(Var 4 a)
(Var 4 b)]
()
Expand Down Expand Up @@ -369,7 +367,6 @@
[]
[(Var 3 x)]
[(Print
()
[(Var 3 x)]
()
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_09-f3e89c8.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_09-f3e89c8.stdout",
"stdout_hash": "ba3074d0bc0b2017872e27e730d06054b799d295c6599949176a0e15",
"stdout_hash": "aaf74bddaaba6ca5c8d781e9fdc568d7497457fbe7d8e4b48c3912e9",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-expr_09-f3e89c8.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@
()
)
(Print
()
[(IntegerBinOp
(IntegerUnaryMinus
(Var 3 i1)
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_10-d39708c.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_10-d39708c.stdout",
"stdout_hash": "0a4b79034e67e8b6d3eb0d84aea96436f45dea9e63ce4b3910c76dd7",
"stdout_hash": "97c3e89ccc963a093255f2df997a14962c244d4ed454ebb3942c39a5",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-expr_10-d39708c.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@
[]
[(Var 4 x)]
[(Print
()
[(Var 4 x)]
()
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-expr_12-6769be0.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-expr_12-6769be0.stdout",
"stdout_hash": "d2a7d644dcafd925278b7bd2689679b2a0c3cb3397a784579679b64a",
"stdout_hash": "0f537c49f019d14a0240da9280de2e6d05afee0ad5dbdb4b3646e730",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-expr_12-6769be0.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,6 @@
()
)
(Print
()
[(ArrayItem
(Var 3 x)
[(()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-func_inline_01-56af272.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-func_inline_01-56af272.stdout",
"stdout_hash": "0bb57e1f00283e1d9702b73b5ac6e2cd149919abafe5f228b1650859",
"stdout_hash": "dbb86e1cbe4e62cc86aefee1b8654130b8025e892913d824628ca7e8",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
1 change: 0 additions & 1 deletion tests/reference/asr-func_inline_01-56af272.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@
()
)
(Print
()
[(Var 4 ans)]
()
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-generics_01-d616074.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-generics_01-d616074.stdout",
"stdout_hash": "a86dbbc3855a11fac0c305599cd98e368c31b0fc172e78dfc1fe484b",
"stdout_hash": "a7de6a75a240c17b33268eadb9f7f7002885ea8d3c3351723e97ef95",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
3 changes: 0 additions & 3 deletions tests/reference/asr-generics_01-d616074.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,6 @@
__asr_generic_f_1]
[]
[(Print
()
[(FunctionCall
2 __asr_generic_f_0
()
Expand All @@ -251,7 +250,6 @@
()
)
(Print
()
[(FunctionCall
2 __asr_generic_f_1
()
Expand All @@ -271,7 +269,6 @@
()
)
(Print
()
[(FunctionCall
2 __asr_generic_f_1
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-generics_02-e2ea5c9.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-generics_02-e2ea5c9.stdout",
"stdout_hash": "f5a159e575ecf0fdad20418b4106f3da761a8abaf39ed65de2a7b83e",
"stdout_hash": "3168e61664d93355b614ece3ef8eb3f1c128bb225dccb77b163d3ddb",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
6 changes: 0 additions & 6 deletions tests/reference/asr-generics_02-e2ea5c9.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,11 @@
()
)
(Print
()
[(Var 5 x)]
()
()
)
(Print
()
[(Var 5 y)]
()
()
Expand Down Expand Up @@ -233,7 +231,6 @@
()
)
(Print
()
[(Var 4 a)
(Var 4 b)]
()
Expand All @@ -247,7 +244,6 @@
()
)
(Print
()
[(Var 4 a)
(Var 4 b)]
()
Expand Down Expand Up @@ -358,13 +354,11 @@
()
)
(Print
()
[(Var 3 x)]
()
()
)
(Print
()
[(Var 3 y)]
()
()
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-generics_array_01-682b1b2.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-generics_array_01-682b1b2.stdout",
"stdout_hash": "26960a50793c22f54a971672fbaa347e2834a0b2e9aaa13859e131e6",
"stdout_hash": "858b2887abdfb47daeedb1ee5531d6f9ae087561445413eb1b68e343",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
Loading

0 comments on commit 09493ac

Please sign in to comment.