
These tests are written using the Avocado Testing Framework (which will be installed automatically) in conjunction with a the avocado_qemu.TestĬlass, implemented at tests/acceptance/avocado_qemu. This make target runs the tests under tests/acceptance, which are higher level functional tests. machine and -device combinations, to look for obvious crashes machine or The scripts/device-crash-test script can be used to run QEMU with multiple See Testing/DockerBuild for more information. The build system supports a number of Docker build targets which allow the source tree to be built and tested on a number of different Linux distributions regardless of your host.
QEMU SYSTEM I386 HARDWARE FULL
For full control over the iotests, cd tests/qemu-iotests/ and run.
QEMU SYSTEM I386 HARDWARE FULL VERSION
A full version of the testsuite, taking around half an hour to run, is run with make check-block SPEED=thorough. You can either supply cross compilers to configure or will attempt to fall-back to precanned docker images with them.Ī subset of the qemu-iotests is run from the toplevel build directory with make check-block. This will attempt to build tests to be run under QEMU for all the enabled guest architectures. These unit tests are used in our continuous integration systems, based on Travis and Patchew.Ĭurrently make check includes the following: Use " make check-help" to see a list of other available test targets and parameters (for example, you can use " make check SPEED=slow V=1" for a verbose, more thorough test run). The unit tests and QTest-based can be run with " make check". We also have a documentation in the source tree. Run make check-help for a full breakdown of the various sub-checks that can be run.

