diff options
author | Tim Newsome <tim@sifive.com> | 2022-12-14 16:52:28 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-14 16:52:28 -0800 |
commit | 898c20bf0b74b2899d7491823cbbac84b5508751 (patch) | |
tree | cea2fb6d7176f4cfe14fc1d8f3bf2823a481fe55 /debug/testlib.py | |
parent | 45f4da6224ee254f235ff223f77e69dccf100c46 (diff) | |
download | riscv-tests-898c20bf0b74b2899d7491823cbbac84b5508751.zip riscv-tests-898c20bf0b74b2899d7491823cbbac84b5508751.tar.gz riscv-tests-898c20bf0b74b2899d7491823cbbac84b5508751.tar.bz2 |
debug: Remove unnecessary exit() functions. (#437)
Also make the semi-hosting test program return 10. That's more fragile
than returning 0, so makes for a better test.
Diffstat (limited to 'debug/testlib.py')
-rw-r--r-- | debug/testlib.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debug/testlib.py b/debug/testlib.py index d2e587b..27deb3a 100644 --- a/debug/testlib.py +++ b/debug/testlib.py @@ -1267,6 +1267,7 @@ class GdbTest(BaseTest): assertIn("Breakpoint", output) assertIn("_exit", output) assertEqual(self.gdb.p("status"), expected_result) + return output class GdbSingleHartTest(GdbTest): def classSetup(self): |