Skip to content

Test the docs/config/q35-*.cfg config files

Thomas Huth qemu-devel 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3tests/qtest/readconfig-test: Allow testing for arbitrary memory sizestests/qtest/readconfig-test.c+4 -40 replies
2/3tests/qtest: Move mkimg() and have_qemu_img() from libqos to libqtesttests/qtest/libqos/libqos.c tests/qtest/libqos/libqos.h tests/qtest/libqtest.c +1 more+73 -500 replies
3/3tests/qtest/readconfig: Test the docs/config/q35-*.cfg filestests/qtest/readconfig-test.c+196 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.39.3