qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 0/3] Add a tester for HMP commands
@ 2017-03-21 10:39 Thomas Huth
  2017-03-21 10:39 ` [Qemu-devel] [PATCH 1/3] libqtest: Ignore QMP events when parsing the response " Thomas Huth
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Thomas Huth @ 2017-03-21 10:39 UTC (permalink / raw)
  To: Dr. David Alan Gilbert, qemu-devel; +Cc: Markus Armbruster, Eduardo Habkost

We currently do not test HMP commands automatically yet, so if they
break, we do not notice this until somebody runs into the problem
(like the "info qtree" problem that we recently had on qemu-system-ppc64).
So let's add a simple tester that runs some HMP commands to check if they
can crash or abort QEMU.

Note: Three boards are currently still blacklisted in the third patch.
I've added the problems to our BiteSizeTasks wiki page, so I hope they
will get fixed by GSoC students or somebody else soon. Once the problems
are fixed, the blacklisting can be removed in the tester, too.

Thomas Huth (3):
  libqtest: Ignore QMP events when parsing the response for HMP commands
  libqtest: Add a generic function to run a callback function for every
    machine
  tests: Add a tester for HMP commands

 tests/Makefile.include |   2 +
 tests/libqtest.c       |  36 +++++++++++
 tests/libqtest.h       |   8 +++
 tests/pc-cpu-test.c    |  95 +++++++++++------------------
 tests/qom-test.c       |  36 ++---------
 tests/test-hmp.c       | 160 +++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 248 insertions(+), 89 deletions(-)
 create mode 100644 tests/test-hmp.c

-- 
1.8.3.1

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

end of thread, other threads:[~2017-03-29 16:00 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-21 10:39 [Qemu-devel] [PATCH 0/3] Add a tester for HMP commands Thomas Huth
2017-03-21 10:39 ` [Qemu-devel] [PATCH 1/3] libqtest: Ignore QMP events when parsing the response " Thomas Huth
2017-03-23  8:52   ` Stefan Hajnoczi
2017-03-23  8:59     ` Thomas Huth
2017-03-21 10:39 ` [Qemu-devel] [PATCH 2/3] libqtest: Add a generic function to run a callback function for every machine Thomas Huth
2017-03-23  8:53   ` Stefan Hajnoczi
2017-03-27 14:24   ` Dr. David Alan Gilbert
2017-03-28  6:35     ` Thomas Huth
2017-03-28  8:17       ` Dr. David Alan Gilbert
2017-03-29 15:59         ` Thomas Huth
2017-03-21 10:39 ` [Qemu-devel] [PATCH 3/3] tests: Add a tester for HMP commands Thomas Huth
2017-03-23  8:56   ` Stefan Hajnoczi
2017-03-27 13:31 ` [Qemu-devel] [PATCH 0/3] " Dr. David Alan Gilbert

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).