mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
* fix python test example
This commit is contained in:
parent
0bae701f65
commit
dd523fccd0
3
projects/hello-world/tests/hello-world.py
Normal file → Executable file
3
projects/hello-world/tests/hello-world.py
Normal file → Executable file
@ -1,8 +1,9 @@
|
||||
#!/usr/bin/python
|
||||
import pexpect
|
||||
import os
|
||||
import subprocess
|
||||
|
||||
child = pexpect.spawn ("board/msba2/tools/bin/pseudoterm %s" % os.environ["PORT"])
|
||||
child = pexpect.spawn ("pseudoterm %s" % os.environ["PORT"])
|
||||
|
||||
null = open('/dev/null', 'wb')
|
||||
subprocess.call(['jam', 'reset'], stdout=null)
|
||||
|
Loading…
Reference in New Issue
Block a user