diff options
author | Tim Newsome <tim@sifive.com> | 2022-07-25 15:55:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-25 15:55:02 -0700 |
commit | a760be4d9483a50bff6510461444f50b8cae3f17 (patch) | |
tree | 54b269089b474a2d26551c0436f533a89210d9e1 /debug | |
parent | 74a62ef0f3eefa759c1c49ae1c756879232f96da (diff) | |
download | riscv-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-x | debug/gdbserver.py | 3 |
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") |