aboutsummaryrefslogtreecommitdiff
path: root/hw/remote
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2024-12-17 15:59:28 +0000
committerThomas Huth <thuth@redhat.com>2024-12-17 19:39:53 +0100
commit3ea06d65be5ee65beabc479d92e964e3c9df5080 (patch)
tree8d10a16ce57538b67f7e20602507ada5d7f1eafa /hw/remote
parentc54edc71093bf85550245250d1f5922465848e83 (diff)
downloadqemu-3ea06d65be5ee65beabc479d92e964e3c9df5080.zip
qemu-3ea06d65be5ee65beabc479d92e964e3c9df5080.tar.gz
qemu-3ea06d65be5ee65beabc479d92e964e3c9df5080.tar.bz2
tests/functional: introduce some helpful decorators
Reduce repeated boilerplate with some helper decorators: @skipIfNotPlatform("x86_64", "aarch64") => Skip unless the build host platform matches @skipIfMissingCommands("mkisofs", "losetup") => Skips unless all listed commands are found in $PATH @skipIfMissingImports("numpy", "cv2") => Skips unless all listed modules can be imported @skipFlakyTest("https://gitlab.com/qemu-project/qemu/-/issues/NNN") => Skips unless env var requests flaky tests with the reason documented in the referenced gitlab bug @skipBigData => Skips unless env var permits tests creating big data files @skipUntrustedTest => Skips unless env var permits tests which are potentially dangerous to the host Reviewed-by: Thomas Huth <thuth@redhat.com> Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Message-ID: <20241217155953.3950506-8-berrange@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'hw/remote')
0 files changed, 0 insertions, 0 deletions