]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tests/acceptance: Tag NetBSD tests as 'os:netbsd'
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 23 Jun 2021 18:00:15 +0000 (20:00 +0200)
committerCleber Rosa <crosa@redhat.com>
Tue, 13 Jul 2021 17:18:51 +0000 (13:18 -0400)
Avocado allows us to select set of tests using tags.
When wanting to run all tests using a NetBSD guest OS,
it is convenient to have them tagged, add the 'os:netbsd'
tag.

It allows one to run the NetBSD tests with:

 $ avocado --show=app,console run -t os:netbsd tests/acceptance/

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210623180021.898286-4-f4bug@amsat.org>
Reviewed-by: Niek Linnenbank <nieklinnenbank@gmail.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
[PMD: ammend the commit message with example command]
Signed-off-by: Cleber Rosa <crosa@redhat.com>
tests/acceptance/boot_linux_console.py
tests/acceptance/ppc_prep_40p.py

index 3ae11a7a8f3589051ee23e94d8ad2110046d8fba..0a8222f17d5282946346989de042efa4d322c828 100644 (file)
@@ -905,6 +905,7 @@ class BootLinuxConsole(LinuxKernelTest):
         :avocado: tags=arch:arm
         :avocado: tags=machine:orangepi-pc
         :avocado: tags=device:sd
+        :avocado: tags=os:netbsd
         """
         # This test download a 304MB compressed image and expand it to 2GB
         deb_url = ('http://snapshot.debian.org/archive/debian/'
index 96ba13b8943315ae05a1469e0ba8f91e9f342c8f..2993ee3b078a98e4a2e3bcfd0f82b4d16e1ac0ae 100644 (file)
@@ -27,6 +27,7 @@ class IbmPrep40pMachine(Test):
         """
         :avocado: tags=arch:ppc
         :avocado: tags=machine:40p
+        :avocado: tags=os:netbsd
         :avocado: tags=slowness:high
         """
         bios_url = ('http://ftpmirror.your.org/pub/misc/'
@@ -64,6 +65,7 @@ class IbmPrep40pMachine(Test):
         """
         :avocado: tags=arch:ppc
         :avocado: tags=machine:40p
+        :avocado: tags=os:netbsd
         """
         drive_url = ('https://cdn.netbsd.org/pub/NetBSD/iso/7.1.2/'
                      'NetBSD-7.1.2-prep.iso')