mbox series

[0/3] modules: cleanup and test

Message ID 1565075466-14943-1-git-send-email-pbonzini@redhat.com
Headers show
Series modules: cleanup and test | expand

Message

Paolo Bonzini Aug. 6, 2019, 7:11 a.m. UTC
Improve coverage for modules: add a test that asks QEMU to check that
no symbols are missing from any of the modules.

Markus, is using qtest ok or should it use an x- qmp command instead?

Paolo

Marc-André Lureau (3):
  module: use g_hash_table_add()
  module: return success on module load
  tests: add module loading test

 include/qemu/module.h  |  2 +-
 qtest.c                |  9 +++++++
 tests/Makefile.include |  1 +
 tests/libqtest.c       |  6 +++++
 tests/libqtest.h       |  2 ++
 tests/modules-test.c   | 71 ++++++++++++++++++++++++++++++++++++++++++++++++++
 util/module.c          | 17 ++++++++----
 7 files changed, 102 insertions(+), 6 deletions(-)
 create mode 100644 tests/modules-test.c