Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
1e7a801e
Commit
1e7a801e
authored
Dec 20, 2016
by
Damien George
Browse files
tests/run-tests: For REPL tests make sure the REPL is exited at the end.
parent
7bbce4e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/run-tests
View file @
1e7a801e
...
@@ -99,6 +99,7 @@ def run_micropython(pyb, args, test_file):
...
@@ -99,6 +99,7 @@ def run_micropython(pyb, args, test_file):
stderr
=
subprocess
.
STDOUT
,
bufsize
=
0
)
stderr
=
subprocess
.
STDOUT
,
bufsize
=
0
)
banner
=
get
(
True
)
banner
=
get
(
True
)
output_mupy
=
banner
+
b
''
.
join
(
send_get
(
line
)
for
line
in
f
)
output_mupy
=
banner
+
b
''
.
join
(
send_get
(
line
)
for
line
in
f
)
send_get
(
b
'
\x04
'
)
# exit the REPL, so coverage info is saved
p
.
kill
()
p
.
kill
()
os
.
close
(
master
)
os
.
close
(
master
)
os
.
close
(
slave
)
os
.
close
(
slave
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment