aboutsummaryrefslogtreecommitdiff
path: root/tests/acceptance
diff options
context:
space:
mode:
authorCleber Rosa <crosa@redhat.com>2019-03-12 13:18:11 -0400
committerEduardo Habkost <ehabkost@redhat.com>2019-05-02 21:33:26 -0300
commit78664ed84949fef4cc0a8be45dd1968e5713e18c (patch)
treee4ffae81a6456a32632a5c2bc98a9eef60e9a0b5 /tests/acceptance
parentb910545fbf3f55f22545c202c1aee62598edb838 (diff)
downloadqemu-78664ed84949fef4cc0a8be45dd1968e5713e18c.zip
qemu-78664ed84949fef4cc0a8be45dd1968e5713e18c.tar.gz
qemu-78664ed84949fef4cc0a8be45dd1968e5713e18c.tar.bz2
tests/boot_linux_console: rename the x86_64 after the arch and machine
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 <crosa@redhat.com> Reviewed-by: Caio Carrara <ccarrara@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20190312171824.5134-8-crosa@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r--tests/acceptance/boot_linux_console.py12
1 files changed, 7 insertions, 5 deletions
diff --git a/tests/acceptance/boot_linux_console.py b/tests/acceptance/boot_linux_console.py
index fa4594f..4d57741 100644
--- a/tests/acceptance/boot_linux_console.py
+++ b/tests/acceptance/boot_linux_console.py
@@ -15,15 +15,17 @@ 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
-
- :avocado: tags=arch:x86_64
+ Boots a Linux kernel and checks that the console is operational and the
+ kernel command line is properly passed from QEMU to the kernel
"""
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'