Skip to content
Snippets Groups Projects
Commit c1056e2e authored by Alexandre Abadie's avatar Alexandre Abadie
Browse files

tests/fmt_print: migrate to testrunner

parent 1a0f4940
No related branches found
No related tags found
No related merge requests found
......@@ -4,3 +4,6 @@ include ../Makefile.tests_common
USEMODULE += fmt
include $(RIOTBASE)/Makefile.include
test:
tests/01-run.py
#!/usr/bin/env python3
import os
import sys
sys.path.append(os.path.join(os.environ['RIOTBASE'], 'dist/tools/testrunner'))
import testrunner
def testfunc(child):
child.expect_exact('If you can read this:')
child.expect_exact('Test successful.')
if __name__ == "__main__":
sys.exit(testrunner.run(testfunc))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment