[PATCH v2 2/9] qemuxml2xmltest: Split out status XML testing to qemustatusxml2xmltest.c

Ján Tomko jtomko at redhat.com
Wed Nov 4 14:32:34 UTC 2020


On a Wednesday in 2020, Peter Krempa wrote:
>Separate the test files.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> tests/meson.build             |   1 +
> tests/qemustatusxml2xmltest.c | 155 ++++++++++++++++++++++++++++++++++
> tests/qemuxml2xmltest.c       |  84 ------------------
> 3 files changed, 156 insertions(+), 84 deletions(-)
> create mode 100644 tests/qemustatusxml2xmltest.c
>
>diff --git a/tests/meson.build b/tests/meson.build
>index a59002c083..56a916c090 100644
>--- a/tests/meson.build
>+++ b/tests/meson.build
>@@ -454,6 +454,7 @@ if conf.has('WITH_QEMU')
>     { 'name': 'qemuvhostusertest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_file_wrapper_lib ] },
>     { 'name': 'qemuxml2argvtest', 'link_with': [ test_qemu_driver_lib, test_utils_qemu_monitor_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] },
>     { 'name': 'qemuxml2xmltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] },
>+    { 'name': 'qemustatusxml2xmltest', 'link_with': [ test_qemu_driver_lib ], 'link_whole': [ test_utils_qemu_lib, test_file_wrapper_lib ] },

This breaks the alphabetical sorting of this section.

>   ]
> endif
>

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/20201104/0d1fd09b/attachment-0001.sig>


More information about the libvir-list mailing list