aboutsummaryrefslogtreecommitdiff
path: root/tests/libqtest.h
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-07-22 22:51:40 +0400
committerPaolo Bonzini <pbonzini@redhat.com>2019-08-21 16:29:57 +0200
commiteb062cfa7331dd90837177b9a5a6becab305b1ca (patch)
tree875bc6e81edf355c9777ea5368d4852d631a8c39 /tests/libqtest.h
parent81d8ccb1bea4fb9eaaf4c8e30bd4021180a9a39f (diff)
downloadqemu-eb062cfa7331dd90837177b9a5a6becab305b1ca.zip
qemu-eb062cfa7331dd90837177b9a5a6becab305b1ca.tar.gz
qemu-eb062cfa7331dd90837177b9a5a6becab305b1ca.tar.bz2
tests: add module loading test
This test will simply check that modules can be loaded, and no symbols are missing. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/libqtest.h')
-rw-r--r--tests/libqtest.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/libqtest.h b/tests/libqtest.h
index 7833148..07ea358 100644
--- a/tests/libqtest.h
+++ b/tests/libqtest.h
@@ -262,6 +262,8 @@ char *qtest_hmp(QTestState *s, const char *fmt, ...) GCC_FMT_ATTR(2, 3);
char *qtest_vhmp(QTestState *s, const char *fmt, va_list ap)
GCC_FMT_ATTR(2, 0);
+void qtest_module_load(QTestState *s, const char *prefix, const char *libname);
+
/**
* qtest_get_irq:
* @s: #QTestState instance to operate on.