1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-18 12:52:44 +01:00
RIOT/tests/sys/pthread_rwlock/tests/01-run.py

20 lines
303 B
Python
Executable File

#!/usr/bin/env python3
import sys
from testrunner import run
def testfunc(child):
child.expect('START')
for _ in range(8):
child.expect('start')
for _ in range(8):
child.expect('done')
child.expect('SUCCESS')
if __name__ == "__main__":
sys.exit(run(testfunc))