qemu/tests
Nicholas Piggin 4a85f23157 tests/avocado: exec_command should not consume console output
_console_interaction reads data from the console even when there is only
an input string to send, and no output data to wait on. This can cause
lines to be missed by wait_for_console_pattern calls that follows an
exec_command. Fix this by not reading the console if there is no pattern
to wait for.

This solves occasional hangs in ppc_hv_tests.py, usually when run on KVM
hosts that are fast enough to output important lines quickly enough to be
consumed by exec_command, so they get missed by subsequent wait for
pattern calls.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-ID: <20240805232814.267843-2-npiggin@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
2024-08-20 00:49:13 +02:00
..
avocado tests/avocado: exec_command should not consume console output 2024-08-20 00:49:13 +02:00
bench tests/bench: Add bufferiszero-bench 2024-05-03 08:03:35 -07:00
data tests/acpi: Add expected ACPI AML files for RISC-V 2024-07-22 20:15:42 -04:00
decode tests/: spelling fixes 2023-09-08 13:08:52 +03:00
docker ci: refresh package lists with lcitool 2024-08-16 09:16:03 +02:00
fp tests/fp: Bump fp-test-mulAdd test timeout to 3 minutes 2024-01-12 13:23:48 +00:00
guest-debug tests: Gently exit from GDB when tests complete 2024-05-17 16:49:04 +02:00
image-fuzzer
include
keys
lcitool ci: add gtk-vnc to the deps 2024-08-16 09:16:03 +02:00
migration tests/qtest/migration-test: Use custom asm bios for ppc64 2024-06-14 14:01:23 -03:00
multiboot
perf/block/qcow2
qapi-schema qapi: remove "Example" doc section 2024-07-17 10:20:54 +02:00
qemu-iotests iotests/024: exclude 'backing file format' field from the output 2024-08-06 20:12:40 +02:00
qtest tests/qtest: Add pnv-spi-seeprom qtest 2024-07-26 09:21:06 +10:00
rocker
tcg Hexagon: fix F2_conv_* instructions for negative zero 2024-08-07 20:34:25 -07:00
tsan block: remove AioContext locking 2023-12-21 22:49:27 +01:00
uefi-test-tools tests/data/uefi-boot-images: Add RISC-V ISO image 2024-07-03 18:14:06 -04:00
unit hw/core/ptimer: fix timer zero period condition for freq > 1GHz 2024-08-12 11:40:16 +01:00
vm ci: refresh package lists with lcitool 2024-08-16 09:16:03 +02:00
vmstate-static-checker-data
dbus-vmstate-daemon.sh
Makefile.include tests/avocado: Allow overwriting AVOCADO_SHOW env variable 2024-07-22 13:54:10 +02:00
meson.build tests/tcg: move test plugins into tcg subdir 2024-07-30 11:44:18 +01:00
test-qht-par.c
vhost-user-bridge.c