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(a)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(a)redhat.com>
Jano