fix test_caller_svshape2.py
authorJacob Lifshay <programmerjake@gmail.com>
Sat, 3 Sep 2022 01:50:01 +0000 (18:50 -0700)
committerJacob Lifshay <programmerjake@gmail.com>
Sat, 3 Sep 2022 01:50:01 +0000 (18:50 -0700)
src/openpower/decoder/isa/test_caller_svshape2.py

index 5a4ad091dad78a4a574b73c2efdbd9a2516e5e1a..63ba4b27de9cb4e495a835a0d99a7ca33a6ad0b8 100644 (file)
@@ -81,7 +81,8 @@ class SVSTATETestCase(FHDLTestCase):
             self.assertEqual(SVSHAPE0.xdimsz, 5)  # set
             self.assertEqual(SVSHAPE0.ydimsz, 2)  # calculated from MVL/xdimsz
             self.assertEqual(SVSHAPE0.skip, 0)   # no skip
-            self.assertEqual(SVSHAPE0.invxyz, 0)  # (no inversion possible)
+            # (no inversion possible)
+            self.assertEqual(SVSHAPE0.invxyz, [0, 0, 0])
             self.assertEqual(SVSHAPE0.offset, 12)
             self.assertEqual(SVSHAPE0.order, (1, 0, 2))  # y,x(,z)
             self.assertEqual(sim.svstate.RMpst, 0)  # mm=0 so persist=0