summary refs log tree commit diff stats
path: root/tests/avocado/reverse_debugging.py
diff options
context:
space:
mode:
authorFabiano Rosas <farosas@suse.de>2023-02-13 17:29:18 -0300
committerPeter Maydell <peter.maydell@linaro.org>2023-02-16 16:26:22 +0000
commit9bb9a3f3c80d57ef2abed12253a613315fd8be85 (patch)
treedab44a9d7267c454499e542e4a1c7f4be8d1a5df /tests/avocado/reverse_debugging.py
parent5ad2d7a97cd9d1ed2527d888d343ee40f1b871f3 (diff)
downloadfocaccia-qemu-9bb9a3f3c80d57ef2abed12253a613315fd8be85.tar.gz
focaccia-qemu-9bb9a3f3c80d57ef2abed12253a613315fd8be85.zip
tests/avocado: Tag TCG tests with accel:tcg
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>
Diffstat (limited to 'tests/avocado/reverse_debugging.py')
-rw-r--r--tests/avocado/reverse_debugging.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/avocado/reverse_debugging.py b/tests/avocado/reverse_debugging.py
index d2921e70c3..680c314cfc 100644
--- a/tests/avocado/reverse_debugging.py
+++ b/tests/avocado/reverse_debugging.py
@@ -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