Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test references
  • Loading branch information
farah-salama committed Apr 21, 2024
commit 7964ab4ba0a1e39ff5eb037f75d0111699540b79
2 changes: 1 addition & 1 deletion tests/reference/run_dbg-test_assert_01-2f34744.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"stdout": null,
"stdout_hash": null,
"stderr": "run_dbg-test_assert_01-2f34744.stderr",
"stderr_hash": "dce4cd6899a19fe199a58705262bb58136ba2ade62f775af76c56a21",
"stderr_hash": "4811af471c73572b285e9ea01c8689abdd3cb32c717b3cd4876d2669",
"returncode": 1
}
8 changes: 7 additions & 1 deletion tests/reference/run_dbg-test_assert_01-2f34744.stderr
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
semantic error: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`
File "tests/runtime_errors/test_assert_01.py", line 1
def test():
File "tests/runtime_errors/test_assert_01.py", line 4
test()
File "tests/runtime_errors/test_assert_01.py", line 2
assert False
AssertionError
2 changes: 1 addition & 1 deletion tests/reference/run_dbg-test_assert_02-c6de25a.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"stdout": null,
"stdout_hash": null,
"stderr": "run_dbg-test_assert_02-c6de25a.stderr",
"stderr_hash": "dce4cd6899a19fe199a58705262bb58136ba2ade62f775af76c56a21",
"stderr_hash": "d5bfce55992e8d0630849442ee1f9b32864c64c328917c29fafc9424",
"returncode": 1
}
8 changes: 7 additions & 1 deletion tests/reference/run_dbg-test_assert_02-c6de25a.stderr
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
semantic error: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`
File "tests/runtime_errors/test_assert_02.py", line 1
def test():
File "tests/runtime_errors/test_assert_02.py", line 4
test()
File "tests/runtime_errors/test_assert_02.py", line 2
assert 1 != 1, "One is equal to one."
AssertionError: One is equal to one.
2 changes: 1 addition & 1 deletion tests/reference/run_dbg-test_assert_03-bd7b7dd.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"stdout": null,
"stdout_hash": null,
"stderr": "run_dbg-test_assert_03-bd7b7dd.stderr",
"stderr_hash": "dce4cd6899a19fe199a58705262bb58136ba2ade62f775af76c56a21",
"stderr_hash": "cae7dd955478787917e9dbb0bc1f63631317b13da1d892c3ebab9097",
"returncode": 1
}
12 changes: 11 additions & 1 deletion tests/reference/run_dbg-test_assert_03-bd7b7dd.stderr
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
semantic error: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`
File "tests/runtime_errors/test_assert_03.py", line 1
def f():
File "tests/runtime_errors/test_assert_03.py", line 10
main()
File "tests/runtime_errors/test_assert_03.py", line 8
f()
File "tests/runtime_errors/test_assert_03.py", line 2
g()
File "tests/runtime_errors/test_assert_03.py", line 5
assert False
AssertionError
4 changes: 2 additions & 2 deletions tests/reference/run_dbg-test_quit_01-30889cc.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"stdout": null,
"stdout_hash": null,
"stderr": "run_dbg-test_quit_01-30889cc.stderr",
"stderr_hash": "dce4cd6899a19fe199a58705262bb58136ba2ade62f775af76c56a21",
"returncode": 1
"stderr_hash": "56a8b2a9b2ee213cbfab4c18870ed93ddbfaa37e421f171155d06d4f",
"returncode": 10
}
8 changes: 7 additions & 1 deletion tests/reference/run_dbg-test_quit_01-30889cc.stderr
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
semantic error: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`
File "tests/runtime_errors/test_quit_01.py", line 1
def test():
File "tests/runtime_errors/test_quit_01.py", line 4
test()
File "tests/runtime_errors/test_quit_01.py", line 2
quit(10)
STOP 10
2 changes: 1 addition & 1 deletion tests/reference/run_dbg-test_raise_01-dfd86ca.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
"stdout": null,
"stdout_hash": null,
"stderr": "run_dbg-test_raise_01-dfd86ca.stderr",
"stderr_hash": "dce4cd6899a19fe199a58705262bb58136ba2ade62f775af76c56a21",
"stderr_hash": "76085f527077a81ba6457af8f982a497038168f555ab4027d0d6340e",
"returncode": 1
}
8 changes: 7 additions & 1 deletion tests/reference/run_dbg-test_raise_01-dfd86ca.stderr
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
semantic error: The `runtime stacktrace` is not enabled. To get the stacktraces, re-build LPython with `-DWITH_RUNTIME_STACKTRACE=yes`
File "tests/runtime_errors/test_raise_01.py", line 1
def test():
File "tests/runtime_errors/test_raise_01.py", line 4
test()
File "tests/runtime_errors/test_raise_01.py", line 2
raise
ERROR STOP