* 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 pexpect
|
||||||
import os
|
import os
|
||||||
import subprocess
|
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')
|
null = open('/dev/null', 'wb')
|
||||||
subprocess.call(['jam', 'reset'], stdout=null)
|
subprocess.call(['jam', 'reset'], stdout=null)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user