[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: |
Caio Carrara |
Subject: |
Re: [Qemu-devel] [PATCH 08/18] Boot Linux Console Test: rename the x86_64 after the arch and machine |
Date: |
Mon, 21 Jan 2019 18:26:10 -0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Thu, Jan 17, 2019 at 01:56:18PM -0500, 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>
Reviewed-by: Caio Carrara <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'
> --
> 2.20.1
>
--
Caio Carrara
Software Engineer, Virt Team - Red Hat
address@hidden
- Re: [Qemu-devel] [PATCH 05/18] Acceptance tests: introduce arch parameter and attribute, (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