[PATCH 1/5] tests: Update hostdev-usb-* hostdev-pci-* xml2xml and xml2argv tests

Ján Tomko jtomko at redhat.com
Wed Jul 13 08:48:44 UTC 2022


On a Tuesday in 2022, Michal Privoznik wrote:
>Currently, we have bunch of PCI/USB tests cases for
>qemuxml2argvtest and qemuxml2xmltest but all of them run without
>any capabilities. This makes is needlessly complicated when
>trying to extend them. Switch to DO_TEST_CAPS_LATEST().
>
>Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
>---
> .../hostdev-pci-address-device.args           | 34 -----------------
> ...tdev-pci-address-device.x86_64-latest.args | 38 +++++++++++++++++++
> .../hostdev-pci-address-device.xml            |  2 +-
> .../qemuxml2argvdata/hostdev-pci-address.args | 33 ----------------
> .../hostdev-pci-address.x86_64-latest.args    | 37 ++++++++++++++++++
> .../qemuxml2argvdata/hostdev-pci-address.xml  |  2 +-
> .../hostdev-usb-address-device-boot.args      | 34 -----------------
> ...usb-address-device-boot.x86_64-latest.args | 38 +++++++++++++++++++
> .../hostdev-usb-address-device-boot.xml       |  2 +-
> .../hostdev-usb-address-device.args           | 34 -----------------
> ...tdev-usb-address-device.x86_64-latest.args | 38 +++++++++++++++++++
> .../hostdev-usb-address-device.xml            |  2 +-
> .../qemuxml2argvdata/hostdev-usb-address.args | 33 ----------------
> .../hostdev-usb-address.x86_64-latest.args    | 37 ++++++++++++++++++
> .../qemuxml2argvdata/hostdev-usb-address.xml  |  2 +-
> tests/qemuxml2argvtest.c                      | 10 ++---
> ... => hostdev-pci-address.x86_64-latest.xml} |  7 +++-
> ... => hostdev-usb-address.x86_64-latest.xml} |  7 +++-
> tests/qemuxml2xmltest.c                       |  4 +-
> 19 files changed, 210 insertions(+), 184 deletions(-)
> delete mode 100644 tests/qemuxml2argvdata/hostdev-pci-address-device.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-pci-address-device.x86_64-latest.args
> delete mode 100644 tests/qemuxml2argvdata/hostdev-pci-address.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-pci-address.x86_64-latest.args
> delete mode 100644 tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-usb-address-device-boot.x86_64-latest.args
> delete mode 100644 tests/qemuxml2argvdata/hostdev-usb-address-device.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-usb-address-device.x86_64-latest.args
> delete mode 100644 tests/qemuxml2argvdata/hostdev-usb-address.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-usb-address.x86_64-latest.args
> rename tests/qemuxml2xmloutdata/{hostdev-pci-address.xml => hostdev-pci-address.x86_64-latest.xml} (86%)
> rename tests/qemuxml2xmloutdata/{hostdev-usb-address.xml => hostdev-usb-address.x86_64-latest.xml} (85%)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20220713/52d87afd/attachment.sig>


More information about the libvir-list mailing list