From 1bb9d8b2b9d8a8981d1fe29e318dbe73f3339ec8 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 24 Dec 2021 13:40:12 +0000 Subject: [PATCH] whoops forgot to put the copy of the wb_get memory back in --- src/openpower/test/runner.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/openpower/test/runner.py b/src/openpower/test/runner.py index e205c7b0..e0e8c9a3 100644 --- a/src/openpower/test/runner.py +++ b/src/openpower/test/runner.py @@ -207,9 +207,11 @@ class TestRunnerBase(FHDLTestCase): # HACK: if there is test memory and wb_get is in use, # overwrite (reset) the wb_get memory dictionary with - # the test's memory contents + # the test's memory contents (oh, and put the wb_get + # memory back in as well) if self.rom is not None and test.mem is not None: self.default_mem.clear() + self.default_mem.update(deepcopy(self.rom)) self.default_mem.update(deepcopy(test.mem)) for runner in state_list: -- 2.30.2