From 4dd9873c2edc42763996cc36408de3d8d2afc006 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 22 Sep 2021 21:16:44 +0100 Subject: [PATCH] and add expected to TestAccumulatorBase --- src/openpower/test/common.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/openpower/test/common.py b/src/openpower/test/common.py index 1bfdf6dd..e464a190 100644 --- a/src/openpower/test/common.py +++ b/src/openpower/test/common.py @@ -102,14 +102,16 @@ class TestAccumulatorBase: def add_case(self, prog, initial_regs=None, initial_sprs=None, initial_cr=0, initial_msr=0, initial_mem=None, - initial_svstate=0): + initial_svstate=0, + expected=None): test_name = inspect.stack()[1][3] # name of caller of this function tc = TestCase(prog, test_name, regs=initial_regs, sprs=initial_sprs, cr=initial_cr, msr=initial_msr, mem=initial_mem, - svstate=initial_svstate) + svstate=initial_svstate, + expected=expected) self.test_data.append(tc) -- 2.30.2