]> xenbits.xensource.com Git - libvirt.git/commit
tests: Update hostdev-usb-* hostdev-pci-* xml2xml and xml2argv tests
authorMichal Privoznik <mprivozn@redhat.com>
Tue, 12 Jul 2022 11:00:33 +0000 (13:00 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Wed, 13 Jul 2022 13:42:08 +0000 (15:42 +0200)
commit94ae42fd25aa3b97559ef1980bf76ca92088a0d4
treec87e948597173a50f7658b34b9f0c5cd5814416e
parentc748000cd19585055e959fe95924e5af705e6825
tests: Update hostdev-usb-* hostdev-pci-* xml2xml and xml2argv tests

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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
21 files changed:
tests/qemuxml2argvdata/hostdev-pci-address-device.args [deleted file]
tests/qemuxml2argvdata/hostdev-pci-address-device.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/hostdev-pci-address-device.xml
tests/qemuxml2argvdata/hostdev-pci-address.args [deleted file]
tests/qemuxml2argvdata/hostdev-pci-address.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/hostdev-pci-address.xml
tests/qemuxml2argvdata/hostdev-usb-address-device-boot.args [deleted file]
tests/qemuxml2argvdata/hostdev-usb-address-device-boot.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/hostdev-usb-address-device-boot.xml
tests/qemuxml2argvdata/hostdev-usb-address-device.args [deleted file]
tests/qemuxml2argvdata/hostdev-usb-address-device.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/hostdev-usb-address-device.xml
tests/qemuxml2argvdata/hostdev-usb-address.args [deleted file]
tests/qemuxml2argvdata/hostdev-usb-address.x86_64-latest.args [new file with mode: 0644]
tests/qemuxml2argvdata/hostdev-usb-address.xml
tests/qemuxml2argvtest.c
tests/qemuxml2xmloutdata/hostdev-pci-address.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/hostdev-pci-address.xml [deleted file]
tests/qemuxml2xmloutdata/hostdev-usb-address.x86_64-latest.xml [new file with mode: 0644]
tests/qemuxml2xmloutdata/hostdev-usb-address.xml [deleted file]
tests/qemuxml2xmltest.c