]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemuxml2argvtest: Extract setup/parse step
authorPeter Krempa <pkrempa@redhat.com>
Sat, 16 Dec 2023 15:30:57 +0000 (16:30 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 17 Jan 2024 16:31:12 +0000 (17:31 +0100)
commit75f7105f5c1ac03f5c24b51e77264df66b01cab9
treea8722a9d0b7b368f3a96e456a37a7191fe9823d4
parent002daa184d9f565529bcfc1b7d591e2ae98baab6
qemuxml2argvtest: Extract setup/parse step

Extract the common setup and parsing of the input XML into a separate
helper testQemuConfXMLCommon(). The helper has semantics which will
allow us to call it from multiple places so that VIR_TEST_RANGE will
still work properly even when we'll add multiple steps reusing the
prepared data.

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