diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-27 23:38:32 +0200 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2021-10-28 15:32:46 -0400 |
commit | a077aaad998a70ba997822d077bc97b08e5099a7 (patch) | |
tree | c01859272ed53d5522d7bd78d9f381c28749651a /mesonbuild/modules/gnome.py | |
parent | ae35b1f45ac5850547f2db52b7b50a54789fcca1 (diff) | |
download | meson-a077aaad998a70ba997822d077bc97b08e5099a7.zip meson-a077aaad998a70ba997822d077bc97b08e5099a7.tar.gz meson-a077aaad998a70ba997822d077bc97b08e5099a7.tar.bz2 |
mtest: accept very long lines
Unless parsing TAP output, there is no strict requirement for
"meson test" to process test output one line at a time; it simply
looks nicer to not print a partial line if it can be avoided.
However, in the case of extremely long lines StreamReader.readline
can fail with a ValueError. Use readuntil('\n') instead and
just process whatever pieces of the line it returns.
Fixes: #8591
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'mesonbuild/modules/gnome.py')
0 files changed, 0 insertions, 0 deletions