diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-03-17 09:59:30 +0100 |
---|---|---|
committer | Jussi Pakkanen <jpakkane@gmail.com> | 2021-03-23 00:07:14 +0200 |
commit | ea48edbb0fcd567b26d94e27b9b61612f56728f5 (patch) | |
tree | ea131f8762c9318adc68e86188e54ac711c4adc6 /mesonbuild/mlog.py | |
parent | 13d3fbbf3e37404b2c5b46ca45e2306307104f26 (diff) | |
download | meson-ea48edbb0fcd567b26d94e27b9b61612f56728f5.zip meson-ea48edbb0fcd567b26d94e27b9b61612f56728f5.tar.gz meson-ea48edbb0fcd567b26d94e27b9b61612f56728f5.tar.bz2 |
mtest: timeout if the write side of pipes does not close
If a test program forks a child, the pipes might remain open and
"await stdo_task"/"await stde_task" will never complete in
SingleTestRunner._run_cmd().
Instead, catch them in TestSubprocess.wait() so that the whole
process group is killed.
Fixes: #8533
Reported-by: Bastien Nocera <hadess@hadess.net>
Diffstat (limited to 'mesonbuild/mlog.py')
0 files changed, 0 insertions, 0 deletions