aboutsummaryrefslogtreecommitdiff
path: root/debug
diff options
context:
space:
mode:
authorTim Newsome <tim@sifive.com>2022-07-25 15:55:02 -0700
committerGitHub <noreply@github.com>2022-07-25 15:55:02 -0700
commita760be4d9483a50bff6510461444f50b8cae3f17 (patch)
tree54b269089b474a2d26551c0436f533a89210d9e1 /debug
parent74a62ef0f3eefa759c1c49ae1c756879232f96da (diff)
downloadriscv-tests-a760be4d9483a50bff6510461444f50b8cae3f17.zip
riscv-tests-a760be4d9483a50bff6510461444f50b8cae3f17.tar.gz
riscv-tests-a760be4d9483a50bff6510461444f50b8cae3f17.tar.bz2
Ignore `mip` and `time` in DisconnectTest. (#406)
These can change at any time and that is OK.
Diffstat (limited to 'debug')
-rwxr-xr-xdebug/gdbserver.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/debug/gdbserver.py b/debug/gdbserver.py
index 7450a67..a8ed0a0 100755
--- a/debug/gdbserver.py
+++ b/debug/gdbserver.py
@@ -419,7 +419,8 @@ class DisconnectTest(GdbTest):
regnames = set(old_values.keys()).union(set(new_values.keys()))
for regname in regnames:
- if regname in ("mcycle", "minstret", "instret", "cycle"):
+ if regname in ("mcycle", "minstret", "instret", "cycle", "mip",
+ "time"):
continue
assertEqual(old_values[regname], new_values[regname],
f"Register {regname} didn't match")