diff --git a/tests/libfixmath_unittests/Makefile b/tests/libfixmath_unittests/Makefile index d7c734a3ab69cf555a50cc0e98b1cd9306d00fe5..294cc2cc489c59f0695623fb8b9caee8f8149236 100644 --- a/tests/libfixmath_unittests/Makefile +++ b/tests/libfixmath_unittests/Makefile @@ -15,6 +15,8 @@ ifneq (,$(filter native,$(BOARD))) export LINKFLAGS += -lm endif +USEMODULE += printf_float + include $(RIOTBASE)/Makefile.include test: diff --git a/tests/libfixmath_unittests/tests/01-run.py b/tests/libfixmath_unittests/tests/01-run.py index fffcbd22855234bba9effc5d5090fde685319e38..d5c4c49b219789853053b87acc7d031d39d2f659 100755 --- a/tests/libfixmath_unittests/tests/01-run.py +++ b/tests/libfixmath_unittests/tests/01-run.py @@ -9,9 +9,13 @@ import os import sys +# Float and print operations are slow on boards +# Got 80 iotlab-m3 and 250 on samr21-xpro +TIMEOUT = 300 + def testfunc(child): - child.expect('SUCCESS') + child.expect('SUCCESS', timeout=TIMEOUT) if __name__ == "__main__":