mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
qemuxml2argvtest: Convert 'sparc-minimal' case to DO_TEST_CAPS_ARCH_LATEST
Convert the only outstanding test case for a 'sparc' machine to modern test infrastructure. 'sparc' machine type also needs to be added to the list of supported arches in testQemuGetLatestCaps. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
5810eb97ad
commit
27a69cc73c
@ -32,4 +32,5 @@ XDG_CONFIG_HOME=/var/lib/libvirt/qemu/domain--1-redhat62sparc/.config \
|
|||||||
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
|
-blockdev '{"node-name":"libvirt-1-format","read-only":true,"driver":"raw","file":"libvirt-1-storage"}' \
|
||||||
-device scsi-cd,bus=scsi.0,scsi-id=1,device_id=drive-scsi0-0-0-1,drive=libvirt-1-format,id=scsi0-0-0-1 \
|
-device scsi-cd,bus=scsi.0,scsi-id=1,device_id=drive-scsi0-0-0-1,drive=libvirt-1-format,id=scsi0-0-0-1 \
|
||||||
-audiodev '{"id":"audio1","driver":"none"}' \
|
-audiodev '{"id":"audio1","driver":"none"}' \
|
||||||
|
-sandbox on,obsolete=deny,elevateprivileges=deny,spawn=deny,resourcecontrol=deny \
|
||||||
-msg timestamp=on
|
-msg timestamp=on
|
@ -2737,8 +2737,7 @@ mymain(void)
|
|||||||
QEMU_CAPS_OBJECT_GPEX,
|
QEMU_CAPS_OBJECT_GPEX,
|
||||||
QEMU_CAPS_NEC_USB_XHCI);
|
QEMU_CAPS_NEC_USB_XHCI);
|
||||||
|
|
||||||
DO_TEST("sparc-minimal",
|
DO_TEST_CAPS_ARCH_LATEST("sparc-minimal", "sparc");
|
||||||
QEMU_CAPS_SCSI_NCR53C90);
|
|
||||||
|
|
||||||
DO_TEST_CAPS_LATEST_PARSE_ERROR("missing-machine");
|
DO_TEST_CAPS_LATEST_PARSE_ERROR("missing-machine");
|
||||||
|
|
||||||
|
@ -829,6 +829,7 @@ testQemuGetLatestCaps(void)
|
|||||||
"riscv64",
|
"riscv64",
|
||||||
"s390x",
|
"s390x",
|
||||||
"x86_64",
|
"x86_64",
|
||||||
|
"sparc",
|
||||||
};
|
};
|
||||||
g_autoptr(GHashTable) capslatest = virHashNew(g_free);
|
g_autoptr(GHashTable) capslatest = virHashNew(g_free);
|
||||||
size_t i;
|
size_t i;
|
||||||
|
Loading…
Reference in New Issue
Block a user