[Qemu-devel] [PATCH 0/3] modules: cleanup and test

Paolo Bonzini posted 3 patches 4 years, 8 months ago
Test docker-clang@ubuntu passed
Test s390x passed
Test asan passed
Test docker-mingw@fedora passed
Test FreeBSD passed
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/1565075466-14943-1-git-send-email-pbonzini@redhat.com
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
[Qemu-devel] [PATCH 0/3] modules: cleanup and test
Posted by Paolo Bonzini 4 years, 8 months ago
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

-- 
1.8.3.1