mark madd* as skipped in soc.git
authorJacob Lifshay <programmerjake@gmail.com>
Mon, 11 Sep 2023 21:30:18 +0000 (14:30 -0700)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 Dec 2023 19:26:20 +0000 (19:26 +0000)
src/openpower/test/mul/long_mul_cases.py

index 3247ccc8c8f4afa2fe52a90f35ad57f4703bd23a..bdc17bc914d256f7cd8ffb208c32331fd464717f 100644 (file)
@@ -1,7 +1,7 @@
 import unittest
 from openpower.simulator.program import Program
 from openpower.endian import bigendian
-from openpower.test.common import TestAccumulatorBase
+from openpower.test.common import TestAccumulatorBase, skip_case_if_flag
 import random
 
 
@@ -191,10 +191,11 @@ MUL_3_ARG_TEST_VALUES = [
 
 
 class MulTestCases3Arg(TestAccumulatorBase):
-    def __init__(self, subtest_index):
+    def __init__(self, subtest_index, *args, **kwargs):
         self.subtest_index = subtest_index
-        super().__init__()
+        super().__init__(*args, **kwargs)
 
+    @skip_case_if_flag('soc')
     def case_all(self):
         instrs = ["maddhd", "maddhdu", "maddld"]