Hello Anthony,

Based on my qtest output cleanups but not dependent thereon, this series
extends trivial test coverage to all 16 targets. Please consider applying
these two before my upcoming pull for your testing convenience. :)

I am fully aware that the test code itself could use some love for 
extensibility,
but I believe we can clean it up after 1.6 (or during the Hard Freeze if you
want to add more machines sooner rather than later).

For now it tests that QOM type changes do not lead to QOM cast assertions.

For the future I would envision it to do some QMP qom-set, e.g., for
realized=false and realized=true or the like. Depending on our plans,
once machines grow test cases of their own for their chipsets, they can
be taken out of this generic test, e.g., n800 is tested via tmp105-test already.

Regards,
Andreas

Cc: Anthony Liguori <[email protected]>
Cc: Paolo Bonzini <[email protected]>

Andreas Färber (14):
  mips_mipssim: Silence BIOS loading warning for qtest
  arm/boot: Turn arm_load_kernel() into no-op for qtest without -kernel
  mainstone: Don't enforce use of -pflash for qtest
  gumstix: Don't enforce use of -pflash for qtest
  z2: Don't enforce use of -pflash for qtest
  palm: Don't enforce loading ROM or kernel for qtest
  omap_sx1: Don't enforce use of kernel or flash for qtest
  exynos4_boards: Silence lack of -smp 2 warning for qtest
  armv7m: Don't enforce use of kernel for qtest
  axis_dev88: Don't enforce use of kernel for qtest
  puv3: Don't assert kernel filename for qtest
  mcf5208: Don't enforce use of kernel for qtest
  an5206: Don't enforce use of kernel for qtest
  qtest: Add dummy machine tests

 hw/arm/armv7m.c         |  25 ++++++------
 hw/arm/boot.c           |   4 ++
 hw/arm/exynos4_boards.c |   3 +-
 hw/arm/gumstix.c        |  31 +++++++++------
 hw/arm/mainstone.c      |   5 ++-
 hw/arm/omap_sx1.c       |   3 +-
 hw/arm/palm.c           |   3 +-
 hw/arm/z2.c             |  19 +++++----
 hw/cris/axis_dev88.c    |  11 +++---
 hw/m68k/an5206.c        |   4 ++
 hw/m68k/mcf5208.c       |   4 ++
 hw/mips/mips_mipssim.c  |   4 +-
 hw/unicore32/puv3.c     |   4 ++
 tests/Makefile          |  25 ++++++++++++
 tests/qom-test.c        | 101 ++++++++++++++++++++++++++++++++++++++++++++++++
 15 files changed, 205 insertions(+), 41 deletions(-)
 create mode 100644 tests/qom-test.c

-- 
1.8.1.4


Reply via email to