aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/compilers/compilers.py
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-11-25 14:47:44 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-07 19:20:40 +0100
commit755412b5261c448025d40214e3f2c0197e2e27bc (patch)
treeba5039e2e5f2f9cf6b51c5375a774aac56b681b9 /mesonbuild/compilers/compilers.py
parent0ccc70ae1bb85095c5d7313d68bbda5ddb0d1530 (diff)
downloadmeson-755412b5261c448025d40214e3f2c0197e2e27bc.zip
meson-755412b5261c448025d40214e3f2c0197e2e27bc.tar.gz
meson-755412b5261c448025d40214e3f2c0197e2e27bc.tar.bz2
mtest: read test stdout/stderr via asyncio pipes
Instead of creating temporary files, get the StreamReaders from _run_subprocess's returned object. Through asyncio magic, their contents will be read as it becomes ready and then returned when the StreamReader.read future is awaited. Because of this change, the stdout and stderr can be easily preserved when TestSubprocess returns an additional_error. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions