Testing/UnitTests

From QEMU
Jump to: navigation, search

QEMU's Unit Tests are used for testing library functionality and as such should be relatively self contained. If you are looking for something that will actually boot code or involve a full running QEMU instance then you should be looking at Testing/QTest.

Invocation

To run all unit tests:

  make check-unit

To run an individual test prepend the check to test/foo, e.g.:

  make check-tests/test-aio

For more detail you can add V=1 to your make invocation.