Skip to content

Commit 216ca98

Browse files
committed
Cortex-M Backend: Skip while_loop test
It has been observed to hang randomly. Likely, the random input causes the quantizatized while loop to never finish in some cases. Signed-off-by: Erik Lundell <erik.lundell@arm.com> Change-Id: Ie738e923d7595040d9e608a46bbe6851958fa3bd
1 parent 96aeb57 commit 216ca98

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

backends/cortex_m/test/misc/test_portable_int8.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,13 @@ def _quantize_and_export(
683683
}
684684

685685

686-
@parametrize("op_case", OP_CASES, xfails=xfails, strict=False)
686+
@parametrize(
687+
"op_case",
688+
OP_CASES,
689+
xfails=xfails,
690+
strict=False,
691+
skips={"while_loop": "Has been observed to hang randomly."},
692+
)
687693
def test_shared_qspec_portable_int8_ops(op_case: OpCase) -> None:
688694
tester = CortexMTester(op_case.module, op_case.example_inputs)
689695
tester.test_dialect(ops_before_transforms={}, ops_after_transforms={})

0 commit comments

Comments
 (0)