17 lines
323 B
Python
Executable File
17 lines
323 B
Python
Executable File
#!/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('main starting')
|
|
child.expect('msg available: 1 \(should be 1\!\)')
|
|
|
|
|
|
if __name__ == "__main__":
|
|
sys.exit(testrunner.run(testfunc))
|