]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virshtest: Adapt 'iothread' tests to DO_TEST_SCRIPT
authorPeter Krempa <pkrempa@redhat.com>
Wed, 20 Mar 2024 16:58:39 +0000 (17:58 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:30 +0000 (14:24 +0200)
commitcf0d80344e4790dc5e3f05ac6fe3144f4e9a0153
treeef63d8540776fe98307b111ff0c83acac0db9a8a
parentb65f3a01a826f3c8174af1fd589faffd1f15b148
virshtest: Adapt 'iothread' tests to DO_TEST_SCRIPT

Adapt the tests to be invoked in one run. Note that multiple fake VMs
were used for the distinct tests so that they don't influence each
other.

This is the final coversion of tests to run in batch mode which halved
the runtime of 'virshtest' on my machine (1.11s vs 2.33s).

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tests/virshtest.c
tests/virshtestdata/iothreads.in [new file with mode: 0644]
tests/virshtestdata/iothreads.out [new file with mode: 0644]