aboutsummaryrefslogtreecommitdiff
path: root/debug/testlib.py
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2023-07-24 09:15:07 -0700
committerGitHub <noreply@github.com>2023-07-24 09:15:07 -0700
commitd4eaa5bd6674b51d3b9b24913713c4638e99cdd9 (patch)
tree8be1054b88f3409bae7cf0444fc72911d64c6786 /debug/testlib.py
parent985acb5bdf848b7bdbe372659f0b1d7eaa145c3b (diff)
parent83425c3163dfd5d1a2ecb5b2afc3b3309bfd8762 (diff)
downloadriscv-tests-d4eaa5bd6674b51d3b9b24913713c4638e99cdd9.zip
riscv-tests-d4eaa5bd6674b51d3b9b24913713c4638e99cdd9.tar.gz
riscv-tests-d4eaa5bd6674b51d3b9b24913713c4638e99cdd9.tar.bz2
Merge pull request #497 from riscv-software-src/unavailable
debug: Re-enable unavailable tests, and fix them for github
Diffstat (limited to 'debug/testlib.py')
-rw-r--r--debug/testlib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/testlib.py b/debug/testlib.py
index 63cc49c..435b41b 100644
--- a/debug/testlib.py
+++ b/debug/testlib.py
@@ -432,7 +432,7 @@ class Openocd:
self.command_count += 1
self.process.stdin.write(magic + b"\n")
self.process.stdin.flush()
- m = self.expect(rb"(.*)^> " + re.escape(magic))
+ m = self.expect(rb"(.*)^>\s*" + re.escape(magic))
return m.group(1)
def expect(self, regex, message=None):