qemu-e2k/tests/vm
Robert Foley ff14ab0c13 tests/vm: Add workaround to consume console
This adds support to basevm.py so that we always
drain the console chars.  This makes use of
support added in an earlier commit that allows
QEMUMachine to use the ConsoleSocket.

This is a workaround we found was needed since
there is a known issue where QEMU will hang waiting
for console characters to be consumed.

We also added the option of logging the console to a file.
LOG_CONSOLE=1 will now log the output to a file.

Signed-off-by: Robert Foley <robert.foley@linaro.org>
Reviewed-by: Peter Puhov <peter.puhov@linaro.org>
Acked-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200601211421.1277-10-robert.foley@linaro.org>
Message-Id: <20200701135652.1366-14-alex.bennee@linaro.org>
2020-07-11 15:53:00 +01:00
..
aarch64vm.py tests/vm: Added a new script for ubuntu.aarch64. 2020-07-11 15:52:59 +01:00
basevm.py tests/vm: Add workaround to consume console 2020-07-11 15:53:00 +01:00
centos tests/vm: Added gen_cloud_init_iso() to basevm.py 2020-03-04 09:57:29 +00:00
centos-8-aarch64.ks tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
centos.aarch64 tests/vm: Added a new script for centos.aarch64. 2020-07-11 15:52:59 +01:00
conf_example_aarch64.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
conf_example_x86.yml tests/vm: Added configuration file support 2020-07-11 15:52:59 +01:00
fedora tests/vm: change scripts to use self._config 2020-07-11 15:52:59 +01:00
freebsd tests/vm: change scripts to use self._config 2020-07-11 15:52:59 +01:00
Makefile.include tests/vm: Add workaround to consume console 2020-07-11 15:53:00 +01:00
netbsd tests/vm: change scripts to use self._config 2020-07-11 15:52:59 +01:00
openbsd tests/vm: change scripts to use self._config 2020-07-11 15:52:59 +01:00
README
ubuntu.aarch64 tests/vm: Added a new script for ubuntu.aarch64. 2020-07-11 15:52:59 +01:00
ubuntu.i386 tests/vm: Add common Ubuntu python module 2020-07-11 15:52:59 +01:00
ubuntuvm.py tests/vm: Add common Ubuntu python module 2020-07-11 15:52:59 +01:00

See docs/devel/testing.rst for help.