Skip to content

Commit 6cf03b9

Browse files
Add tests and update the refs.
1 parent 7aaec18 commit 6cf03b9

16 files changed

+115
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_assert_01-ae5aab1",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/runtime_errors/test_assert_01.py",
5+
"infile_hash": "7a380295a35651b1a5120e1e64a44cae95d2c14c89cf5a4b6ea3dd1a",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_assert_01-ae5aab1.stderr",
11+
"stderr_hash": "1da14d6c59aa1b5a3a152d383ff5690112283324db6d93f3d937bc7c",
12+
"returncode": 1
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AssertionError
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_assert_02-987f4b4",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/runtime_errors/test_assert_02.py",
5+
"infile_hash": "85f0e908c3e5d21da83216f95221f59ebd69b477f42718842c1d6c8c",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_assert_02-987f4b4.stderr",
11+
"stderr_hash": "95b4eee040edc8c00b8f4f2e1956aa688bbf097154cecf21c9bdbbad",
12+
"returncode": 1
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AssertionError: One is equal to one.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_list_02-5f7db5f",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/runtime_errors/test_list_02.py",
5+
"infile_hash": "73803ffe5a87f1ac9a76ea16075d8fbfabb4968b40c7265952a529e1",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_list_02-5f7db5f.stderr",
11+
"stderr_hash": "6c43f8d578ad68cecf9f508bf6469418796f38489b3eb524f98391d7",
12+
"returncode": 1
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
IndexError: list index out of range
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_quit_01-e98257c",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/runtime_errors/test_quit_01.py",
5+
"infile_hash": "d2c544c21b4973dde53993e0a26bae6fac9581e7d5c87dd2cfc93f07",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_quit_01-e98257c.stderr",
11+
"stderr_hash": "9c63ade47f347b4c61353d2af6e780092daa84d287747e19ac89fdf9",
12+
"returncode": 1
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
STOP
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"basename": "runtime-test_raise_01-9cb725a",
3+
"cmd": "lpython {infile}",
4+
"infile": "tests/runtime_errors/test_raise_01.py",
5+
"infile_hash": "359f595e813294fccdacb372c25a2aa6d3827066af7d91db62e32d83",
6+
"outfile": null,
7+
"outfile_hash": null,
8+
"stdout": null,
9+
"stdout_hash": null,
10+
"stderr": "runtime-test_raise_01-9cb725a.stderr",
11+
"stderr_hash": "7f8ea2ba070402ca7102fbdb16802dcf4b0600b9b90b5e49198812f6",
12+
"returncode": 1
13+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ERROR STOP

0 commit comments

Comments
 (0)