tests/functional: Convert the kvm_xen_guest avocado test
PATCH v2 1/1 tests/functional: Convert the kvm_xen_guest avocado test
Use the serial console to execute the commands in the guest instead of using ssh since we don't have ssh support in the functional framework yet.
Acked-by David Woodhouse <[email protected]>
Signed-off-by Thomas Huth <[email protected]>
---
v2: Add "quiet" to KERNEL_DEFAULT to avoid races on the serial console
MAINTAINERS | 2 +-
tests/functional/meson.build | 2 +
.../test_x86_64_kvm_xen.py} | 83 +++++++++++--------
3 files changed, 52 insertions(+), 35 deletions(-)
rename tests/{avocado/kvm_xen_guest.py => functional/test_x86_64_kvm_xen.py} (64%)
mode change 100644 => 100755MAINTAINERS +1 -1
@@ -486,7 +486,7 @@ S: Supported F: include/system/kvm_xen.h F: target/i386/kvm/xen* F: hw/i386/kvm/xen* -F: tests/avocado/kvm_xen_guest.py +F: tests/functional/test_x86_64_kvm_xen.py Guest CPU Cores (other accelerators) ------------------------------------
tests/functional/meson.build +2 -0
@@ -42,6 +42,7 @@ test_timeouts = { 'riscv64_tuxrun' : 120, 's390x_ccw_virtio' : 420, 'sh4_tuxrun' : 240, + 'x86_64_kvm_xen' : 180, } tests_generic_system = [
@@ -267,6 +268,7 @@ tests_x86_64_system_thorough = [ 'netdev_ethtool', 'virtio_gpu', 'x86_64_hotplug_cpu', + 'x86_64_kvm_xen', 'x86_64_tuxrun', ]
tests/functional/test_x86_64_kvm_xen.py renamed from tests/avocado/kvm_xen_guest.py +49 -34
152 lines not on this page · raw message
Signature · 1 line
2.47.1