[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 08/18] Boot Linux Console Test: rename the x86_6
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [Qemu-devel] [PATCH 08/18] Boot Linux Console Test: rename the x86_64 after the arch and machine |
Date: |
Tue, 22 Jan 2019 10:56:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 1/17/19 7:56 PM, Cleber Rosa wrote:
> Given that the test is specific to x86_64 and pc, and new tests are
> going to be added to the same class, let's rename it accordingly.
> Also, let's make the class documentation not architecture specific.
>
> Signed-off-by: Cleber Rosa <address@hidden>
> ---
> tests/acceptance/boot_linux_console.py | 11 +++++++----
> 1 file changed, 7 insertions(+), 4 deletions(-)
>
> diff --git a/tests/acceptance/boot_linux_console.py
> b/tests/acceptance/boot_linux_console.py
> index 46b20bdfe2..89df7f6e4f 100644
> --- a/tests/acceptance/boot_linux_console.py
> +++ b/tests/acceptance/boot_linux_console.py
> @@ -15,16 +15,19 @@ from avocado_qemu import Test
>
> class BootLinuxConsole(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
> + Boots a Linux kernel and checks that the console is operational and the
> + kernel command line is properly passed from QEMU to the kernel
>
> :avocado: enable
> - :avocado: tags=arch:x86_64
> """
>
> timeout = 60
>
> - def test(self):
> + def test_x86_64_pc(self):
> + """
> + :avocado: tags=arch:x86_64
> + :avocado: tags=machine:pc
> + """
> kernel_url = ('https://mirrors.kernel.org/fedora/releases/28/'
> 'Everything/x86_64/os/images/pxeboot/vmlinuz')
> kernel_hash = '238e083e114c48200f80d889f7e32eeb2793e02a'
>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
- [Qemu-devel] [PATCH 15/18] Boot Linux Console Test: add a test for aarch64 + virt, (continued)
- [Qemu-devel] [PATCH 15/18] Boot Linux Console Test: add a test for aarch64 + virt, Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 03/18] Acceptance tests: improve docstring on pick_default_qemu_bin(), Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 10/18] Boot Linux Console Test: refactor the console watcher into utility method, Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 08/18] Boot Linux Console Test: rename the x86_64 after the arch and machine, Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 14/18] Boot Linux Console Test: add a test for ppc64 + pseries, Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 17/18] Boot Linux Console Test: add a test for s390x + s390-ccw-virtio, Cleber Rosa, 2019/01/17
- [Qemu-devel] [PATCH 16/18] Boot Linux Console Test: add a test for arm + virt, Cleber Rosa, 2019/01/17