1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/float/tests/01-run.py
Kaspar Schleiser 37d2e70aa6 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
2020-07-29 12:26:43 +02:00

20 lines
459 B
Python
Executable File

#!/usr/bin/env python3
# Copyright (C) 2017 Freie Universität Berlin
#
# This file is subject to the terms and conditions of the GNU Lesser
# General Public License v2.1. See the file LICENSE in the top level
# directory for more details.
import sys
from testrunner import run
def testfunc(child):
child.expect_exact("Testing floating point arithmetic...")
child.expect_exact("[SUCCESS]")
if __name__ == "__main__":
sys.exit(run(testfunc))