qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [RFC 0/6] device-crash-test: device_add test mode
@ 2017-09-26 23:07 Eduardo Habkost
  2017-09-26 23:07 ` [Qemu-devel] [RFC 1/6] device-crash-test: Make whitelist code a bit more flexible Eduardo Habkost
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Eduardo Habkost @ 2017-09-26 23:07 UTC (permalink / raw)
  To: qemu-devel; +Cc: Thomas Huth, Dr. David Alan Gilbert, Cleber Rosa

This series implements device_add testing on device-crash-test.
The new test mode will be enabled by default in addition to the
old test cases, but if only device_add testing is wanted, it can
be specified using the '-t' command-line option, e.g.:

  $ ./scripts/device-crash-test -t method=device_add

In comparison to the "-device" test cases, a full test run runs
reasonably quickly (17 seconds on my machine for testing all
hotpluggable devices on all 72 machine-types in
qemu-system-x86_64).  I believe it is a good candidate to be
eventually included on "make check".

TODO:
* Fix the QEMU crash found using '-t plug_all=1'
  (see patch 5/5 for details)
* Test non-x86 architectures
* Compare results with Thomas' HMP unit test
  ("tests: Add a device_add/del HMP test" patch").

Based-on: 20170926220319.12889-1-ehabkost@redhat.com
(Subject: [PATCH 0/4] qmp: query-device-type command)

Eduardo Habkost (6):
  device-crash-test: Make whitelist code a bit more flexible
  device-crash-test: Log detailed info on success too
  device-crash-test: Allow checkOneCase() to report multiple results
  device-crash-test: Exit immediately on fatal failures on quick mode
  device-crash-test: Basic device_add support
  device-crash-test: Multi-device device_add test

 scripts/device-crash-test | 132 +++++++++++++++++++++++++++++++++-------------
 1 file changed, 94 insertions(+), 38 deletions(-)

-- 
2.13.5

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

end of thread, other threads:[~2017-09-27 16:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-26 23:07 [Qemu-devel] [RFC 0/6] device-crash-test: device_add test mode Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 1/6] device-crash-test: Make whitelist code a bit more flexible Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 2/6] device-crash-test: Log detailed info on success too Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 3/6] device-crash-test: Allow checkOneCase() to report multiple results Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 4/6] device-crash-test: Exit immediately on fatal failures on quick mode Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 5/6] device-crash-test: Basic device_add support Eduardo Habkost
2017-09-26 23:07 ` [Qemu-devel] [RFC 6/6] device-crash-test: Multi-device device_add test Eduardo Habkost
2017-09-27 11:17   ` Thomas Huth
2017-09-27 16:47     ` 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).