mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user