[libvirt] [PATCH v2 10/10] tests: Introduce resolution test for VGA model

jcfaracco@gmail.com posted 10 patches 5 years, 2 months ago
[libvirt] [PATCH v2 10/10] tests: Introduce resolution test for VGA model
Posted by jcfaracco@gmail.com 5 years, 2 months ago
From: Julio Faracco <jcfaracco@gmail.com>

New test case was added to cover 'xres' and 'yres' properties for VGA
model due to latest QEMU version.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
---
 tests/qemuxml2argvtest.c | 1 +
 tests/qemuxml2xmltest.c  | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index f68c31d5e9..66b63925d2 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1987,6 +1987,7 @@ mymain(void)
             QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
     DO_TEST("video-vga-device-vgamem", QEMU_CAPS_DEVICE_VGA,
             QEMU_CAPS_DEVICE_VIDEO_PRIMARY, QEMU_CAPS_VGA_VGAMEM);
+    DO_TEST_CAPS_LATEST("video-vga-resolution");
     DO_TEST("video-qxl-nodevice", QEMU_CAPS_DEVICE_QXL);
     DO_TEST("video-qxl-device",
             QEMU_CAPS_DEVICE_QXL,
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 3078355019..ac537767ba 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -1200,6 +1200,7 @@ mymain(void)
 
     DO_TEST("acpi-table", NONE);
 
+    DO_TEST_CAPS_LATEST("video-vga-resolution");
     DO_TEST("video-device-pciaddr-default",
             QEMU_CAPS_KVM,
             QEMU_CAPS_VNC,
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 10/10] tests: Introduce resolution test for VGA model
Posted by Julio Faracco 5 years, 2 months ago
This patch is missing XML files for VGA test case.
I will wait for review until submit a V3.

--
Julio Cesar Faracco




Em sex, 30 de ago de 2019 às 18:43, <jcfaracco@gmail.com> escreveu:
>
> From: Julio Faracco <jcfaracco@gmail.com>
>
> New test case was added to cover 'xres' and 'yres' properties for VGA
> model due to latest QEMU version.
>
> Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
> ---
>  tests/qemuxml2argvtest.c | 1 +
>  tests/qemuxml2xmltest.c  | 1 +
>  2 files changed, 2 insertions(+)
>
> diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
> index f68c31d5e9..66b63925d2 100644
> --- a/tests/qemuxml2argvtest.c
> +++ b/tests/qemuxml2argvtest.c
> @@ -1987,6 +1987,7 @@ mymain(void)
>              QEMU_CAPS_DEVICE_VIDEO_PRIMARY);
>      DO_TEST("video-vga-device-vgamem", QEMU_CAPS_DEVICE_VGA,
>              QEMU_CAPS_DEVICE_VIDEO_PRIMARY, QEMU_CAPS_VGA_VGAMEM);
> +    DO_TEST_CAPS_LATEST("video-vga-resolution");
>      DO_TEST("video-qxl-nodevice", QEMU_CAPS_DEVICE_QXL);
>      DO_TEST("video-qxl-device",
>              QEMU_CAPS_DEVICE_QXL,
> diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
> index 3078355019..ac537767ba 100644
> --- a/tests/qemuxml2xmltest.c
> +++ b/tests/qemuxml2xmltest.c
> @@ -1200,6 +1200,7 @@ mymain(void)
>
>      DO_TEST("acpi-table", NONE);
>
> +    DO_TEST_CAPS_LATEST("video-vga-resolution");
>      DO_TEST("video-device-pciaddr-default",
>              QEMU_CAPS_KVM,
>              QEMU_CAPS_VNC,
> --
> 2.20.1
>

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list