From: Jacob Lifshay Date: Tue, 20 Feb 2024 04:35:03 +0000 (-0800) Subject: powmod: mark case_powmod_256 with skip_case_slow X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4873bfd82621172db7753ed98c56e3308f7d303c;p=openpower-isa.git powmod: mark case_powmod_256 with skip_case_slow running full test suite with RUN_SLOW unset now takes 3min41s on my desktop -- substantially faster. --- diff --git a/src/openpower/test/bigint/powmod.py b/src/openpower/test/bigint/powmod.py index 289f472e..739c3d23 100644 --- a/src/openpower/test/bigint/powmod.py +++ b/src/openpower/test/bigint/powmod.py @@ -14,7 +14,8 @@ related bugs: * https://bugs.libre-soc.org/show_bug.cgi?id=1044 """ -from openpower.test.common import TestAccumulatorBase, skip_case +from openpower.test.common import ( + TestAccumulatorBase, skip_case, skip_case_slow) from openpower.test.state import ExpectedState from openpower.test.util import assemble from nmutil.sim_util import hash_256 @@ -1210,6 +1211,7 @@ class PowModCases(TestAccumulatorBase): base %= mod yield (base, exp, mod) + @skip_case_slow("runs 256 iterations of divmod") def case_powmod_256(self): for base, exp, mod in PowModCases.powmod_256_test_inputs(): expected = pow(base, exp, mod)