mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 16:01:18 +01:00
With `newlib-nano` and other smaller `libc`s the output of floats does not work with `printf()`. Since minmea uses floating point operations I used `fmt` instead.
15 lines
276 B
Python
Executable File
15 lines
276 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys
|
|
from testrunner import run
|
|
|
|
|
|
def testfunc(child):
|
|
child.expect_exact('START')
|
|
child.expect('parsed coordinates: lat=52.483631 lon=13.446008')
|
|
child.expect_exact('SUCCESS')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(run(testfunc))
|