mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 13:45:38 +00:00
domaincapstest: Skip unknown variants instead of the default variant
Fix the logic selecting when to run the tests to skip unknown variants
rather than the default variant.
Fixes: 738c5bae88
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
This commit is contained in:
parent
c674a43f3d
commit
f2c20b8260
@ -326,7 +326,7 @@ doTestQemu(const char *inputDir G_GNUC_UNUSED,
|
||||
|
||||
if (STREQ(variant, "+hvf"))
|
||||
hvf = true;
|
||||
else if (STREQ(variant, ""))
|
||||
else if (STRNEQ(variant, ""))
|
||||
return 0;
|
||||
|
||||
if (STREQ(arch, "x86_64")) {
|
||||
|
Loading…
Reference in New Issue
Block a user