summaryrefslogtreecommitdiffstats
path: root/tests/rtc-test.c
diff options
context:
space:
mode:
authorThomas Huth2019-09-03 07:50:26 +0200
committerThomas Huth2019-09-05 13:18:52 +0200
commitdd210749727530cdef7c335040edbf81c3c5d041 (patch)
tree0e761474de9ed8bf6a10190a30141edb58cd9182 /tests/rtc-test.c
parenttests/libqtest: Move global_test wrapper function into a separate header (diff)
downloadqemu-dd210749727530cdef7c335040edbf81c3c5d041.tar.gz
qemu-dd210749727530cdef7c335040edbf81c3c5d041.tar.xz
qemu-dd210749727530cdef7c335040edbf81c3c5d041.zip
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>
Diffstat (limited to 'tests/rtc-test.c')
-rw-r--r--tests/rtc-test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rtc-test.c b/tests/rtc-test.c
index 509be707e3..6309b0ef6c 100644
--- a/tests/rtc-test.c
+++ b/tests/rtc-test.c
@@ -13,7 +13,7 @@
#include "qemu/osdep.h"
-#include "libqtest.h"
+#include "libqtest-single.h"
#include "qemu/timer.h"
#include "hw/timer/mc146818rtc_regs.h"