]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2xmltesttest: Avoid conditions in test macro
authorPeter Krempa <pkrempa@redhat.com>
Tue, 17 Aug 2021 14:35:20 +0000 (16:35 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 18 Aug 2021 08:20:49 +0000 (10:20 +0200)
commit510b951d9ca96e7e1ed15c553f488baebbcd077d
treec4c82d1d7964da715d3f4f09841421b8e05c6ab9
parentca5c8e1dc7801854d856cfc62f2054ae753a40c3
qemuxml2xmltesttest: Avoid conditions in test macro

Pass a pointer to the 'ret' variable to the test executor itself and
update it there to improve compile times of the test.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/qemuxml2xmltest.c