1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-23 13:33:49 +01:00
RIOT/tests/thread_basic/tests/test_thread.py
Martine Lenders 2bbe92a75a tests: Fix tests that were defect
* I used pexpect instead of when expect script was not working expect, since
  TCL confuses me
* I deleted the thread_exit test since it was completely invalid
2014-08-21 23:21:06 +02:00

9 lines
135 B
Python
Executable File

#!/usr/bin/python
import pexpect
term = pexpect.spawn("make term")
term.expect('first thread\r\n')
term.expect('second thread\r\n')