[PATCH 0/3] Test the docs/config/q35-*.cfg config files

Thomas Huth posted 3 patches 9 months, 4 weeks ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20230704071655.75381-1-thuth@redhat.com
Maintainers: Thomas Huth <thuth@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
tests/qtest/libqos/libqos.h   |   2 -
tests/qtest/libqtest.h        |  20 ++++
tests/qtest/libqos/libqos.c   |  49 +-------
tests/qtest/libqtest.c        |  52 +++++++++
tests/qtest/readconfig-test.c | 204 +++++++++++++++++++++++++++++++++-
5 files changed, 273 insertions(+), 54 deletions(-)
[PATCH 0/3] Test the docs/config/q35-*.cfg config files
Posted by Thomas Huth 9 months, 4 weeks ago
With some tweaking (e.g. by creating temporary image files), we
can check whether the docs/config/q35-*.cfg files can be loaded
by QEMU successfully, so we can avoid that these files bitrot
and avoid that our config file parser gets regressions.

Thomas Huth (3):
  tests/qtest/readconfig-test: Allow testing for arbitrary memory sizes
  tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest
  tests/qtest/readconfig: Test the docs/config/q35-*.cfg files

 tests/qtest/libqos/libqos.h   |   2 -
 tests/qtest/libqtest.h        |  20 ++++
 tests/qtest/libqos/libqos.c   |  49 +-------
 tests/qtest/libqtest.c        |  52 +++++++++
 tests/qtest/readconfig-test.c | 204 +++++++++++++++++++++++++++++++++-
 5 files changed, 273 insertions(+), 54 deletions(-)

-- 
2.39.3