qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] Test the docs/config/q35-*.cfg config files
@ 2023-07-04  7:16 Thomas Huth
  2023-07-04  7:16 ` [PATCH 1/3] tests/qtest/readconfig-test: Allow testing for arbitrary memory sizes Thomas Huth
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Thomas Huth @ 2023-07-04  7:16 UTC (permalink / raw)
  To: qemu-devel; +Cc: Paolo Bonzini, Laurent Vivier, Daniel P . Berrangé

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-04  7:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-04  7:16 [PATCH 0/3] Test the docs/config/q35-*.cfg config files Thomas Huth
2023-07-04  7:16 ` [PATCH 1/3] tests/qtest/readconfig-test: Allow testing for arbitrary memory sizes Thomas Huth
2023-07-04  7:16 ` [PATCH 2/3] tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtest Thomas Huth
2023-07-04  7:16 ` [PATCH 3/3] tests/qtest/readconfig: Test the docs/config/q35-*.cfg files Thomas Huth

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).