From: Luke Kenneth Casson Leighton Date: Wed, 22 Sep 2021 20:16:44 +0000 (+0100) Subject: and add expected to TestAccumulatorBase X-Git-Tag: sv_maxu_works-initial~848 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4dd9873c2edc42763996cc36408de3d8d2afc006;p=openpower-isa.git and add expected to TestAccumulatorBase --- 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)