Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Thirumalai-Shaktivel committed Oct 14, 2022
1 parent 47726f0 commit 66e23be
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 14 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": "81d3d9340354e46865df3966dcc196ff7a31a48dfb518b33d84fe178",
"stdout_hash": "e72db31572952314063242423476dd478d1965ab690d7ed5baeff343",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-array_01_decl-39cf894.stdout

Large diffs are not rendered by default.

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": "0aafef017a432335f36dfd651ceef8374193898f9063696f4d46cd41",
"stdout_hash": "564c3846e3cad6042775cc6715c9b12593da9ab9c5e0bd0f8c284177",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-array_02_decl-e8f6874.stdout

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/reference/asr-elemental_01-b58df26.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-elemental_01-b58df26.stdout",
"stdout_hash": "8815b4d5e2b2a914345b79fd0c06728a9fbe52d9aeb8e6ede0def65c",
"stdout_hash": "df75d8631ba31be3f4f6ef90a9be29ade1bf4bedeb19b1b694edeb1c",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-elemental_01-b58df26.stdout

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/reference/asr-loop2-e874469.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-loop2-e874469.stdout",
"stdout_hash": "9aea0562b8f0b599c8804ab5a2819575d19610e99f4c0f4af74dea4b",
"stdout_hash": "da2c29ffa3dddc624db3cefe2eaa5c896441ef4a0125de41028b7996",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-loop2-e874469.stdout
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 8 {}) _lpython_main_program [test_for] [] [(SubroutineCall 1 test_for () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), exit: (ExternalSymbol 1 exit 3 exit sys [] exit Public), main_program: (Program (SymbolTable 7 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), sys: (Module (SymbolTable 3 {exit: (Function (SymbolTable 4 {error_code: (Variable 4 error_code In () () Default (Integer 4 []) Source Public Required .false.)}) exit [] [(Var 4 error_code)] [(Stop (Var 4 error_code))] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) sys [] .false. .false.), test_for: (Function (SymbolTable 5 {i: (Variable 5 i Local () () Default (Integer 4 []) Source Public Required .false.)}) test_for [exit] [] [(DoLoop ((Var 5 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(If (IntegerCompare (Var 5 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(Cycle)] []) (If (IntegerCompare (Var 5 i) Gt (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) [(Exit)] []) (If (IntegerCompare (Var 5 i) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) [(Stop ())] [])]) (SubroutineCall 1 exit () [((IntegerConstant 2 (Integer 4 [])))] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) [])
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 9 {}) _lpython_main_program [test_for] [] [(SubroutineCall 1 test_for () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), exit: (ExternalSymbol 1 exit 3 exit sys [] exit Public), main_program: (Program (SymbolTable 8 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), sys: (Module (SymbolTable 3 {exit: (Function (SymbolTable 4 {error_code: (Variable 4 error_code In () () Default (Integer 4 []) Source Public Required .false.)}) exit [] [(Var 4 error_code)] [(Stop (Var 4 error_code))] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) sys [] .false. .false.), test_for: (Function (SymbolTable 6 {i: (Variable 6 i Local () () Default (Integer 4 []) Source Public Required .false.)}) test_for [exit] [] [(DoLoop ((Var 6 i) (IntegerConstant 0 (Integer 4 [])) (IntegerBinOp (IntegerConstant 10 (Integer 4 [])) Sub (IntegerConstant 1 (Integer 4 [])) (Integer 4 []) (IntegerConstant 9 (Integer 4 []))) (IntegerConstant 1 (Integer 4 []))) [(If (IntegerCompare (Var 6 i) Eq (IntegerConstant 0 (Integer 4 [])) (Logical 4 []) ()) [(Cycle)] []) (If (IntegerCompare (Var 6 i) Gt (IntegerConstant 5 (Integer 4 [])) (Logical 4 []) ()) [(Exit)] []) (If (IntegerCompare (Var 6 i) Eq (IntegerConstant 3 (Integer 4 [])) (Logical 4 []) ()) [(Stop ())] [])]) (SubroutineCall 1 exit () [((IntegerConstant 2 (Integer 4 [])))] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) [])
2 changes: 1 addition & 1 deletion tests/reference/asr-modules_02-ec92e6f.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-modules_02-ec92e6f.stdout",
"stdout_hash": "a20f868a08776b62b6f16bb83e309cf2e2f76e7fee2a24cfb3f9472d",
"stdout_hash": "b66c76ae48f6e9bd64ee8888f0d652effa73e406739d9ebaa9da7ddd",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-modules_02-ec92e6f.stdout
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 9 {}) _lpython_main_program [main0] [] [(SubroutineCall 1 main0 () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), f: (ExternalSymbol 1 f 3 f modules_02b [] f Public), main0: (Function (SymbolTable 7 {x: (Variable 7 x Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 [f] [] [(= (Var 7 x) (IntegerBinOp (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Add (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Mul (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant 25 (Integer 4 []))) ()) (Assert (IntegerCompare (Var 7 x) Eq (IntegerConstant 25 (Integer 4 [])) (Logical 4 []) ()) ()) (SubroutineCall 1 f () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), main_program: (Program (SymbolTable 8 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), modules_02b: (Module (SymbolTable 3 {f: (Function (SymbolTable 4 {}) f [g] [] [(SubroutineCall 3 g () [] ()) (Print () [(StringConstant "f()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), g: (ExternalSymbol 3 g 5 g modules_02c [] g Public)}) modules_02b [modules_02c] .false. .false.), modules_02c: (Module (SymbolTable 5 {g: (Function (SymbolTable 6 {}) g [] [] [(Print () [(StringConstant "g()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) modules_02c [] .false. .false.)}) [])
(TranslationUnit (SymbolTable 1 {_lpython_main_program: (Function (SymbolTable 12 {}) _lpython_main_program [main0] [] [(SubroutineCall 1 main0 () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), f: (ExternalSymbol 1 f 3 f modules_02b [] f Public), main0: (Function (SymbolTable 10 {x: (Variable 10 x Local () () Default (Integer 4 []) Source Public Required .false.)}) main0 [f] [] [(= (Var 10 x) (IntegerBinOp (IntegerBinOp (IntegerConstant 2 (Integer 4 [])) Add (IntegerConstant 3 (Integer 4 [])) (Integer 4 []) (IntegerConstant 5 (Integer 4 []))) Mul (IntegerConstant 5 (Integer 4 [])) (Integer 4 []) (IntegerConstant 25 (Integer 4 []))) ()) (Assert (IntegerCompare (Var 10 x) Eq (IntegerConstant 25 (Integer 4 [])) (Logical 4 []) ()) ()) (SubroutineCall 1 f () [] ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), main_program: (Program (SymbolTable 11 {}) main_program [] [(SubroutineCall 1 _lpython_main_program () [] ())]), modules_02b: (Module (SymbolTable 3 {f: (Function (SymbolTable 8 {}) f [g] [] [(SubroutineCall 3 g () [] ()) (Print () [(StringConstant "f()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.), g: (ExternalSymbol 3 g 5 g modules_02c [] g Public)}) modules_02b [modules_02c] .false. .false.), modules_02c: (Module (SymbolTable 5 {g: (Function (SymbolTable 6 {}) g [] [] [(Print () [(StringConstant "g()" (Character 1 3 () []))] () ())] () Source Public Implementation () .false. .false. .false. .false. .false. [] [] .false.)}) modules_02c [] .false. .false.)}) [])
2 changes: 1 addition & 1 deletion tests/reference/asr-test_numpy_03-e600a49.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-test_numpy_03-e600a49.stdout",
"stdout_hash": "f4546cf004e6c88988b6827dbed21b917f0a94b817288c02a3ac0728",
"stdout_hash": "2958542e4b23031ca0570158c91029c2c705f15d4c4c17c7cec93b09",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-test_numpy_03-e600a49.stdout

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/reference/asr-test_numpy_04-ecbb614.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"outfile": null,
"outfile_hash": null,
"stdout": "asr-test_numpy_04-ecbb614.stdout",
"stdout_hash": "cabe8c5f7ac96bd7b1062358d4714b5958608ad76902d99988120497",
"stdout_hash": "db208650f46f02e83db798378008d7836a72418299acb1768e8594c1",
"stderr": null,
"stderr_hash": null,
"returncode": 0
Expand Down
2 changes: 1 addition & 1 deletion tests/reference/asr-test_numpy_04-ecbb614.stdout

Large diffs are not rendered by default.

0 comments on commit 66e23be

Please sign in to comment.