From fbe74f48e16be28a2b360e8a9e845b01d9e4b167 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Tue, 26 May 2020 12:37:09 -0700 Subject: 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. --- debug/targets.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debug/targets.py') 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 = [] -- cgit v1.1