docs/devel: update the testing introduction

Move the mention of "check-help" up to the intro text and also mention
the meson test integration.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20240729144414.830369-7-alex.bennee@linaro.org>
This commit is contained in:
Alex Bennée 2024-07-29 15:44:06 +01:00
parent ec5a4c7ffe
commit c8d6e04223

View File

@ -3,13 +3,28 @@
Testing in QEMU
===============
This document describes the testing infrastructure in QEMU.
QEMU's testing infrastructure is fairly complex as it covers
everything from unit testing and exercising specific sub-systems all
the way to full blown acceptance tests. To get an overview of the
tests you can run ``make check-help`` from either the source or build
tree.
Most (but not all) tests are also integrated into the meson build
system so can be run directly from the build tree, for example:
.. code::
[./pyvenv/bin/]meson test --suite qemu:softfloat
will run just the softfloat tests.
The rest of this document will cover the details for specific test
groups.
Testing with "make check"
-------------------------
The "make check" testing family includes most of the C based tests in QEMU. For
a quick help, run ``make check-help`` from the source tree.
The "make check" testing family includes most of the C based tests in QEMU.
The usual way to run these tests is: