Skip to content
Snippets Groups Projects
Unverified Commit 4ee7d135 authored by Gaëtan Harter's avatar Gaëtan Harter Committed by GitHub
Browse files

Merge pull request #7988 from aabadie/pr/test_pexpect_fmt_print

tests/fmt_print: migrate to testrunner
parents a524d9f9 c1056e2e
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.
Please register or to comment