On Wed, Jan 31, 2018 at 11:28:00AM +0800, Fam Zheng wrote: > To make our efforts on QEMU testing easier to consume by contributors, > let's add a document. For example, Patchew reports build errors on > patches that should be relatively easy to reproduce with a few steps, and > it is much nicer if there is such a documentation that it can refer to. > > This focuses on how to run existing tests and how to write new test > cases, without going into the frameworks themselves. > > The VM based testing section is moved from tests/vm/README which now > is a single line pointing to the new doc. > > Signed-off-by: Fam Zheng <f...@redhat.com> > > --- > > v2: Fix spelling errors and improve wordings. [Stefan, Eric, Thomas] > Example test name "test-foo -> foo-test". The mass renaming will be > done in another series. [Thomas, Eric] > Document how to debug unit tests and qtests. [Eric] > Document group permission setup for docker, and the privilege risks. > [Alex] > Update tests/vm/README. > --- > docs/devel/testing.rst | 486 > +++++++++++++++++++++++++++++++++++++++++++++++++ > tests/vm/README | 90 +-------- > 2 files changed, 487 insertions(+), 89 deletions(-) > create mode 100644 docs/devel/testing.rst
Reviewed-by: Stefan Hajnoczi <stefa...@redhat.com>
signature.asc
Description: PGP signature