]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
qemuxml2conftest: Consolidate usb controller tests for 'pseries' machine
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Feb 2024 14:44:00 +0000 (15:44 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 6 Mar 2024 15:30:35 +0000 (16:30 +0100)
Move the test invocation and rename the test files according to the
pattern.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
tests/qemuxmlconfdata/usb-controller-default-pseries.ppc64-latest.abi-update.args [moved from tests/qemuxmlconfdata/ppc64-usb-controller.ppc64-latest.abi-update.args with 100% similarity]
tests/qemuxmlconfdata/usb-controller-default-pseries.ppc64-latest.abi-update.xml [moved from tests/qemuxmlconfdata/ppc64-usb-controller.ppc64-latest.abi-update.xml with 100% similarity]
tests/qemuxmlconfdata/usb-controller-default-pseries.ppc64-latest.args [moved from tests/qemuxmlconfdata/ppc64-usb-controller.ppc64-latest.args with 100% similarity]
tests/qemuxmlconfdata/usb-controller-default-pseries.ppc64-latest.xml [moved from tests/qemuxmlconfdata/ppc64-usb-controller.ppc64-latest.xml with 100% similarity]
tests/qemuxmlconfdata/usb-controller-default-pseries.xml [moved from tests/qemuxmlconfdata/ppc64-usb-controller.xml with 100% similarity]
tests/qemuxmlconftest.c

index f265b8532748f033d6ee099981edaa3b3412bc5f..a38106096004a020ba8e65aefa1df7a1b6e45740 100644 (file)
@@ -1851,6 +1851,8 @@ mymain(void)
     DO_TEST_CAPS_LATEST_PARSE_ERROR("usb-controller-default-isapc");
     DO_TEST_CAPS_LATEST("usb-controller-default-i440fx");
     DO_TEST_CAPS_LATEST("usb-controller-default-q35");
+    DO_TEST_CAPS_ARCH_LATEST("usb-controller-default-pseries", "ppc64");
+    DO_TEST_CAPS_ARCH_LATEST_ABI_UPDATE("usb-controller-default-pseries", "ppc64");
     /* i440fx downgrades to use '-usb' if the explicit controller is not present */
     DO_TEST_FULL("usb-controller-default-unavailable-i440fx", ".x86_64-latest",
                  ARG_CAPS_ARCH, "x86_64",
@@ -2648,9 +2650,6 @@ mymain(void)
 
     DO_TEST_CAPS_LATEST("input-linux");
 
-    DO_TEST_CAPS_ARCH_LATEST("ppc64-usb-controller", "ppc64");
-    DO_TEST_CAPS_ARCH_LATEST_ABI_UPDATE("ppc64-usb-controller", "ppc64");
-
     DO_TEST_CAPS_ARCH_LATEST_PARSE_ERROR("ppc64-tpmproxy-double", "ppc64");
     DO_TEST_CAPS_ARCH_LATEST_PARSE_ERROR("ppc64-tpm-double", "ppc64");