diff mbox series

[v2,2/6] tests/acceptance: Rename the x86-64 specific BootLinuxConsole test

Message ID 20180622004435.10291-3-f4bug@amsat.org
State New
Headers show
Series Avocado: start multi-arch tests, add a Travis job | expand

Commit Message

Philippe Mathieu-Daudé June 22, 2018, 12:44 a.m. UTC
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
---
 tests/acceptance/boot_linux_console.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Alex Bennée June 28, 2018, 5:17 p.m. UTC | #1
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
> ---
>  tests/acceptance/boot_linux_console.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
> index 98324f7591..f6a34d75a5 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -13,7 +13,7 @@ import logging
>  from avocado_qemu import Test
>
>
> -class BootLinuxConsole(Test):
> +class BootLinuxConsoleX86_64(Test):
>      """
>      Boots a x86_64 Linux kernel and checks that the console is operational
>      and the kernel command line is properly passed from QEMU to the kernel

Not your bug but it also needs to be better at choosing a QEMU to run:

2018-06-28 16:10:24,736 download         L0066 INFO | Fetching https://mirrors.kernel.org/fedora/releases/28/Everything/x86_64/os/images/pxeboot/vmlinuz -> /home/alex.bennee/avocado/data/cache/vmlinuz.gqWhs5
2018-06-28 16:10:40,841 qemu             L0268 DEBUG| Error launching VM
2018-06-28 16:10:40,841 qemu             L0270 DEBUG| Command: 'aarch64-softmmu/qemu-system-aarch64 -chardev socket,id=mon,path=/var/tmp/tmpdXbtIA/qemu-16646-monitor.sock -mon chardev=mon,mode=control -display none -vga none -machine pc -chardev socket,id=console,path=/var/tmp/tmpdXbtIA/qemu-16646-console.sock,server,nowait -device isa-serial,chardev=console -kernel /home/alex.bennee/avocado/data/cache/vmlinuz -append console=ttyS0'


--
Alex Bennée
diff mbox series

Patch

diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
index 98324f7591..f6a34d75a5 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -13,7 +13,7 @@  import logging
 from avocado_qemu import Test
 
 
-class BootLinuxConsole(Test):
+class BootLinuxConsoleX86_64(Test):
     """
     Boots a x86_64 Linux kernel and checks that the console is operational
     and the kernel command line is properly passed from QEMU to the kernel