From 6caa9f9e51149f1e839cef43f36deca0afa6104b Mon Sep 17 00:00:00 2001 From: smlng Date: Tue, 30 Jan 2018 10:46:34 +0100 Subject: [PATCH] tests/libfixmath: fix range of loop in test script The range for the loop was orders of magnitude too low. While the tests succeeds on native, it fails on real boards with a timeout. --- tests/libfixmath/tests/01-run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/libfixmath/tests/01-run.py b/tests/libfixmath/tests/01-run.py index 806cbe31f7..093d99657b 100755 --- a/tests/libfixmath/tests/01-run.py +++ b/tests/libfixmath/tests/01-run.py @@ -23,7 +23,7 @@ def expect_unary(child): def expect_binary(child): - for _ in range(20): + for _ in range(1500): for op_name in ('add', 'sub', 'mul', 'div', 'mod', 'sadd', 'ssub', 'smul', 'sdiv', 'min', 'max'): child.expect('{}\(-?\d+.\d+\, -?\d+.\d+\) = -?\d+.\d+'