From 7ab01f5814f30fa5ab2a1b48cf49818e428b05a6 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 18 Sep 2021 16:04:33 +0100 Subject: [PATCH] always store full memory state (including zeros) --- src/openpower/test/state.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 853da604..4d904e9d 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -124,8 +124,7 @@ class SimState(State): keys = list(self.sim.mem.mem.keys()) self.mem = [] for k in keys: - if self.sim.mem.mem[k] !=0: # Don't store potential 0 for compare - self.mem.append(((k*8), self.sim.mem.mem[k])) + self.mem.append(((k*8), self.sim.mem.mem[k])) class ExpectedState(State): -- 2.30.2