summary refs log tree commit diff stats
path: root/tests/functional/qemu_test/__init__.py
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-03 22:32:38 +0200
committerRichard Henderson <richard.henderson@linaro.org>2025-04-03 16:11:09 -0700
commit00f119f4c4f776e5e36e8ea99bb3ff865cc52c09 (patch)
treed3fe1c0adeba70b7368be9a475cdfffda8785bc2 /tests/functional/qemu_test/__init__.py
parent4412d713822b6a0d87efd428ae164e80618ca2d2 (diff)
downloadfocaccia-qemu-00f119f4c4f776e5e36e8ea99bb3ff865cc52c09.tar.gz
focaccia-qemu-00f119f4c4f776e5e36e8ea99bb3ff865cc52c09.zip
tests/functional: Add a decorator for skipping tests on particular OS
Since tests might be failing on some operating systems,
introduce the skipIfOperatingSystem() decorator.

Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250403203241.46692-3-philmd@linaro.org>
Diffstat (limited to 'tests/functional/qemu_test/__init__.py')
-rw-r--r--tests/functional/qemu_test/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/functional/qemu_test/__init__.py b/tests/functional/qemu_test/__init__.py
index 45f7befa37..af41c2c6a2 100644
--- a/tests/functional/qemu_test/__init__.py
+++ b/tests/functional/qemu_test/__init__.py
@@ -15,6 +15,6 @@ from .testcase import QemuBaseTest, QemuUserTest, QemuSystemTest
 from .linuxkernel import LinuxKernelTest
 from .decorators import skipIfMissingCommands, skipIfNotMachine, \
     skipFlakyTest, skipUntrustedTest, skipBigDataTest, skipSlowTest, \
-    skipIfMissingImports
+    skipIfMissingImports, skipIfOperatingSystem
 from .archive import archive_extract
 from .uncompress import uncompress