diff options
author | Tim Newsome <tim@sifive.com> | 2020-05-26 12:37:09 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-26 12:37:09 -0700 |
commit | fbe74f48e16be28a2b360e8a9e845b01d9e4b167 (patch) | |
tree | 869b79d740a4c5f405f35eb0cab9275ea7da47e0 /debug/targets.py | |
parent | bc4c1d2866b896f6234d19111993fae4a9f47d74 (diff) | |
download | riscv-tests-fbe74f48e16be28a2b360e8a9e845b01d9e4b167.zip riscv-tests-fbe74f48e16be28a2b360e8a9e845b01d9e4b167.tar.gz riscv-tests-fbe74f48e16be28a2b360e8a9e845b01d9e4b167.tar.bz2 |
Test semihosting calls (#280)
* Add a basic semihosting test.
* Need to configure semihosting on each target.
* WIP
* Parse "cannot insert breakpoint" message.
Also use sys.exit instead of exit, per new pylint's suggestion.
Diffstat (limited to 'debug/targets.py')
-rw-r--r-- | debug/targets.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debug/targets.py b/debug/targets.py index f4192b6..9c1ccf0 100644 --- a/debug/targets.py +++ b/debug/targets.py @@ -91,6 +91,10 @@ class Target: # whether they are applicable or not. skip_tests = [] + # Set False if semihosting should not be tested in this configuration, + # because it doesn't work and isn't expected to work. + test_semihosting = True + # Internal variables: directory = None temporary_files = [] |