tests/avocado: Tag TCG tests with accel:tcg
authorFabiano Rosas <farosas@suse.de>
Mon, 13 Feb 2023 20:29:18 +0000 (17:29 -0300)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 16 Feb 2023 16:26:22 +0000 (16:26 +0000)
This allows the test to be skipped when TCG is not present in the QEMU
binary.

Signed-off-by: Fabiano Rosas <farosas@suse.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
tests/avocado/boot_linux_console.py
tests/avocado/reverse_debugging.py

index be60f8cda9aa3da0f024e70ba5c3432a2bba9b99..574609bf43baa950d37bf5026f218302af1897f3 100644 (file)
@@ -997,6 +997,7 @@ class BootLinuxConsole(LinuxKernelTest):
 
     def test_aarch64_raspi3_atf(self):
         """
+        :avocado: tags=accel:tcg
         :avocado: tags=arch:aarch64
         :avocado: tags=machine:raspi3b
         :avocado: tags=cpu:cortex-a53
index d2921e70c3b4bc472684b430b9eb85ad6101bf7e..680c314cfccfd668bd95ff1fa1991251cda9c4a8 100644 (file)
@@ -173,6 +173,10 @@ class ReverseDebugging(LinuxKernelTest):
         vm.shutdown()
 
 class ReverseDebugging_X86_64(ReverseDebugging):
+    """
+    :avocado: tags=accel:tcg
+    """
+
     REG_PC = 0x10
     REG_CS = 0x12
     def get_pc(self, g):
@@ -190,6 +194,10 @@ class ReverseDebugging_X86_64(ReverseDebugging):
         self.reverse_debugging()
 
 class ReverseDebugging_AArch64(ReverseDebugging):
+    """
+    :avocado: tags=accel:tcg
+    """
+
     REG_PC = 32
 
     # unidentified gitlab timeout problem