1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/tests/pkg_cmsis-dsp/tests/01-run.py

15 lines
289 B
Python
Executable File

#!/usr/bin/env python3
import sys
from testrunner import run
def testfunc(child):
child.expect(r"dsp: 0\.903941\d{3}")
child.expect_exact("reference: 0.903941793931839")
child.expect(r"diff: 0.000000[01]\d{2}")
if __name__ == "__main__":
sys.exit(run(testfunc))