tests/float: reduce iterations to 1000
The linked bug report [1] says "2 out of 5 computations fail", so there should be no need to wait tens of seconds. [1] https://sourceware.org/legacy-ml/newlib/2010/msg00149.html
This commit is contained in:
parent
2f6185ee97
commit
37d2e70aa6
@ -25,9 +25,9 @@
|
||||
|
||||
#include "board.h"
|
||||
|
||||
/* as default we run the test 100k times */
|
||||
/* as default we run the test 1k times */
|
||||
#ifndef TEST_ITER
|
||||
#define TEST_ITER (100000UL)
|
||||
#define TEST_ITER (1000UL)
|
||||
#endif
|
||||
|
||||
#define STEP (0.1)
|
||||
|
||||
@ -9,13 +9,10 @@
|
||||
import sys
|
||||
from testrunner import run
|
||||
|
||||
# It takes 35 seconds on msp430, so add some margin
|
||||
TIMEOUT = 45
|
||||
|
||||
|
||||
def testfunc(child):
|
||||
child.expect_exact("Testing floating point arithmetic...")
|
||||
child.expect_exact("[SUCCESS]", timeout=TIMEOUT)
|
||||
child.expect_exact("[SUCCESS]")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user