aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/snippets
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-01-14 10:03:16 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-15 15:58:53 +0100
commite7c85555751399506e3f967e044f3d327abd3a14 (patch)
treed8bc9cb14424cf10591ff9a8b0e823f10523f28d /docs/markdown/snippets
parent401464c61a7dce3819539398a59ff3fcce88d0ca (diff)
downloadmeson-e7c85555751399506e3f967e044f3d327abd3a14.zip
meson-e7c85555751399506e3f967e044f3d327abd3a14.tar.gz
meson-e7c85555751399506e3f967e044f3d327abd3a14.tar.bz2
mtest: move I/O handling to TestSubprocess
Move the logic to start the read/decode tasks to TestSubprocess and keep SingleTestRunner simple. The lines() inner function is tweaked to produce stdout as a future. This removes the nonlocal access (which is not possible anymore when the code is moved out of _run_cmd), and also lets _run_cmd use "await stdo_task" for both parsed and unparsed output.
Diffstat (limited to 'docs/markdown/snippets')
0 files changed, 0 insertions, 0 deletions