]> git.proxmox.com Git - mirror_qemu.git/commit
tests/libqtest: Use libqtest-single.h in tests that require global_qtest
authorThomas Huth <thuth@redhat.com>
Tue, 3 Sep 2019 05:50:26 +0000 (07:50 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 5 Sep 2019 11:18:52 +0000 (13:18 +0200)
commitdd210749727530cdef7c335040edbf81c3c5d041
tree0e761474de9ed8bf6a10190a30141edb58cd9182
parent0ba67974aff2b42105c93e61b852d90197f37a20
tests/libqtest: Use libqtest-single.h in tests that require global_qtest

Tests that require global_qtest or the related wrapper functions now
use the libqtest-single.h header that is dedicated for everything
related to global_qtest. The core libqtest.c and libqtest.h files are
now completely indepedent from global_qtest, so that the core library
is now not depending on a global state anymore.

Message-Id: <20190904130047.25808-7-thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
33 files changed:
tests/cpu-plug-test.c
tests/display-vga-test.c
tests/e1000e-test.c
tests/fdc-test.c
tests/i440fx-test.c
tests/i82801b11-test.c
tests/intel-hda-test.c
tests/ioh3420-test.c
tests/ipmi-kcs-test.c
tests/libqtest-single.h
tests/libqtest.c
tests/libqtest.h
tests/m25p80-test.c
tests/qos-test.c
tests/rtc-test.c
tests/rtl8139-test.c
tests/test-arm-mptimer.c
tests/test-netfilter.c
tests/test-x86-cpuid-compat.c
tests/tmp105-test.c
tests/tpm-crb-test.c
tests/tpm-tests.c
tests/tpm-tis-test.c
tests/usb-hcd-ohci-test.c
tests/usb-hcd-uhci-test.c
tests/usb-hcd-xhci-test.c
tests/vhost-user-test.c
tests/virtio-9p-test.c
tests/virtio-blk-test.c
tests/virtio-ccw-test.c
tests/virtio-net-test.c
tests/virtio-scsi-test.c
tests/virtio-serial-test.c