smlng 13d61b5c20 tests: use testrunner from pythonlibs
Remove now obsolete sys.append from all tests, as testrunner was moved
to dist/pythonlibs as proper package.
2018-08-13 14:11:23 +02:00

21 lines
388 B
Python
Executable File

#!/usr/bin/env python3
import os
import sys
def testfunc(child):
child.expect('START')
for i in range(4):
child.expect('Start {}'.format(i + 1))
child.expect('Done 2')
child.expect('Done 1')
child.expect('Done 3')
child.expect('Done 4')
child.expect('SUCCESS')
if __name__ == "__main__":
from testrunner import run
sys.exit(run(testfunc))