tests/avocado: Fix ppc_hv_tests.py xorriso dependency guard
authorNicholas Piggin <npiggin@gmail.com>
Wed, 27 Mar 2024 03:28:11 +0000 (13:28 +1000)
committerNicholas Piggin <npiggin@gmail.com>
Sat, 30 Mar 2024 08:50:25 +0000 (18:50 +1000)
commit74eb04af186457517b6bae8ec6ceac872bde822e
tree41ecbf1c385b36974f86ba084f44a901625da539
parent434531619fecd5ff9a08e548ed87b2b73c29cf3e
tests/avocado: Fix ppc_hv_tests.py xorriso dependency guard

For some reason the skipIf missing_deps() check fails to skip the test
if it comes after the skipUnless lines, causing an error running on
systems without xorriso.

Avocado implements skipUnless is just an inverted skipIf, so it's not
clear what the bug is or why this fixes it. For now it's enough to
get things working.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2246
Fixes: c9cb496710758 ("tests/avocado: ppc add hypervisor tests")
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
tests/avocado/ppc_hv_tests.py