Commit 1e7a801e authored by Damien George's avatar Damien George
Browse files

tests/run-tests: For REPL tests make sure the REPL is exited at the end.

parent 7bbce4e2
......@@ -99,6 +99,7 @@ def run_micropython(pyb, args, test_file):
stderr=subprocess.STDOUT, bufsize=0)
banner = get(True)
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()
os.close(master)
os.close(slave)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment