From: Luke Kenneth Casson Leighton Date: Wed, 22 Sep 2021 20:08:45 +0000 (+0100) Subject: add expected argument to TestCase X-Git-Tag: sv_maxu_works-initial~849 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b3789085d19e0a8376afaf82dc225ae0abe5b88;p=openpower-isa.git add expected argument to TestCase --- diff --git a/src/openpower/test/common.py b/src/openpower/test/common.py index 2bc0c1fa..1bfdf6dd 100644 --- a/src/openpower/test/common.py +++ b/src/openpower/test/common.py @@ -119,7 +119,8 @@ class TestCase: msr=0, do_sim=True, extra_break_addr=None, - svstate=0): + svstate=0, + expected=None): self.program = program self.name = name @@ -138,6 +139,7 @@ class TestCase: self.do_sim = do_sim self.extra_break_addr = extra_break_addr self.svstate = svstate + self.expected = expected # expected results from the test class ALUHelpers: