qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] What tests should "make check-block" run?
@ 2014-08-21 12:27 Markus Armbruster
  2014-08-21 12:52 ` Paolo Bonzini
  2014-08-21 13:12 ` Stefan Hajnoczi
  0 siblings, 2 replies; 14+ messages in thread
From: Markus Armbruster @ 2014-08-21 12:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: Kevin Wolf, Stefan Hajnoczi

I posted a patch with a stupid mistake last night.  Running the right
tests would've saved me the embarrassment.  Trouble is to run them you
first have to know they exist, and then you have to know the right test
script incantation.  "make check-block" can't do that for you.

I believe we can reasonably expect people patching block stuff to know
about "make check-block" in addition to plain "make check", but asking
them to know everything tests/qemu-iotests/check can do is a bit much.

Here's what it can test, as far as I can tell, judging from
tests/qemu-iotests/{common,group}:

* Image formats raw, bochs, cow, cloop, parallels, qcow, qcow2, qed,
  vdi, vmdk, vpc, vhdx

* Protocols file, rbd, sheepdog, nbd, ssh, nfs

* Test groups aio, auto, backing, blkdbg, img, io, quick, rw, snapshot

* Arbitrary cache modes (usual caveats re cache=none on funny file
  systems apply)

* A few miscellaneous test options

Current "make check-block" runs tests/qemu-iotests-quick.sh, which tests
format qcow2, protocol file, group quick with cache=none.  Runs 55 tests
and takes about 2 minutes for me on a not particularly fast test box
(spinning rust).

Should "make check-block" run more tests?  Which ones?

Should we have a variant of "make check-block" for testing other
(format, protocol) combinations?

Should we have a variant of "make check-block" that tests everything
that's testable without special setup?

How can we make advanced iotest features more discoverable for
developers not already intimately familiar with it?

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

end of thread, other threads:[~2014-09-01  7:55 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-21 12:27 [Qemu-devel] What tests should "make check-block" run? Markus Armbruster
2014-08-21 12:52 ` Paolo Bonzini
2014-08-21 13:00   ` Peter Crosthwaite
2014-08-22  5:01     ` Fam Zheng
2014-08-21 14:38   ` Kevin Wolf
2014-08-21 13:12 ` Stefan Hajnoczi
2014-08-21 13:16   ` Peter Maydell
2014-08-28 11:05     ` Stefan Hajnoczi
2014-08-28 15:22       ` Jeff Cody
2014-08-28 15:24       ` Markus Armbruster
2014-08-28 16:19         ` Peter Maydell
2014-08-29 20:05         ` Max Reitz
2014-09-01  7:55           ` Markus Armbruster
2014-08-28 23:50       ` Fam Zheng

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