[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH v3 25/28] tests/avocado: Tag TCG tests with accel:tcg
From: |
Fabiano Rosas |
Subject: |
[RFC PATCH v3 25/28] tests/avocado: Tag TCG tests with accel:tcg |
Date: |
Fri, 13 Jan 2023 11:04:16 -0300 |
This allows the test to be skipped when TCG is not present in the QEMU
binary.
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
tests/avocado/boot_linux_console.py | 1 +
tests/avocado/reverse_debugging.py | 8 ++++++++
2 files changed, 9 insertions(+)
diff --git a/tests/avocado/boot_linux_console.py
b/tests/avocado/boot_linux_console.py
index ec07c64291..c339e4d3bb 100644
--- a/tests/avocado/boot_linux_console.py
+++ b/tests/avocado/boot_linux_console.py
@@ -943,6 +943,7 @@ def test_arm_orangepi_uboot_netbsd9(self):
def test_aarch64_raspi3_atf(self):
"""
+ :avocado: tags=accel:tcg
:avocado: tags=arch:aarch64
:avocado: tags=machine:raspi3b
:avocado: tags=cpu:cortex-a53
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 @@ def reverse_debugging(self, shift=7, args=None):
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 @@ def test_x86_64_pc(self):
self.reverse_debugging()
class ReverseDebugging_AArch64(ReverseDebugging):
+ """
+ :avocado: tags=accel:tcg
+ """
+
REG_PC = 32
# unidentified gitlab timeout problem
--
2.35.3
- Re: [RFC PATCH v3 20/28] target/arm: Set cortex-a57 as default cpu for KVM-only build, (continued)
- [RFC PATCH v3 22/28] tests/qtest: Restrict bcm2835-dma-test to CONFIG_RASPI, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 23/28] tests/tcg: Do not build/run TCG tests if TCG is disabled, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 24/28] tests/avocado: Skip tests that require a missing accelerator, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 25/28] tests/avocado: Tag TCG tests with accel:tcg,
Fabiano Rosas <=
- [RFC PATCH v3 26/28] target/avocado: Pass parameters to migration test on aarch64, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 27/28] arm/Kconfig: Always select SEMIHOSTING when TCG is present, Fabiano Rosas, 2023/01/13
- [RFC PATCH v3 28/28] arm/Kconfig: Do not build TCG-only boards on a KVM-only build, Fabiano Rosas, 2023/01/13
- Re: [RFC PATCH v3 00/28] target/arm: Allow CONFIG_TCG=n builds, Philippe Mathieu-Daudé, 2023/01/18