From 1a2a6df22531a9009c960da0183508e4ffbec12d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Fri, 9 Sep 2022 19:23:52 +0100 Subject: [PATCH] hooray got test_pysvp64dis.py working with new Verbosity level --- src/openpower/sv/trans/test_pysvp64dis.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/openpower/sv/trans/test_pysvp64dis.py b/src/openpower/sv/trans/test_pysvp64dis.py index f25659d2..61f83366 100644 --- a/src/openpower/sv/trans/test_pysvp64dis.py +++ b/src/openpower/sv/trans/test_pysvp64dis.py @@ -1,6 +1,7 @@ from openpower.simulator.program import Program from openpower.sv.trans.pysvp64dis import load, dump from openpower.sv.trans.svp64 import SVP64Asm +from openpower.decoder.power_insn import Verbosity import unittest import sys @@ -39,7 +40,7 @@ class SVSTATETestCase(unittest.TestCase): #print ("insn", insn) insns = list(insns) print ("insns", insns) - for i, line in enumerate(dump(insns, verbose=False, short=True)): + for i, line in enumerate(dump(insns, verbosity=Verbosity.SHORT)): print("instruction", repr(line), repr(expected[i])) self.assertEqual(expected[i], line, "instruction %i do not match " -- 2.30.2