IOMMU tests provides the infrastructure to test the software as well as hardware components of Direct Memory Access interactions orchestrated by an IOMMU (Input Output Memory Management Unit). It provides the following functionalities:
- Libraries and common reusable user space code that enables the creation of IOMMU tests.
- A pytest orchestration infrastructure that is able to execute tests depending on the system that is being run.
To build the tests compatible with your the system configuration used for building.
meson setup builddir
meson compile -C builddir
Execute all the tests that are available in the system configuration used for running. Availability depends on installed hardware and software. Pytest's arguments are available to customize test runs.
pytest builddir
See CONTRIBUTING.
If you are curious how iommutests work, the 0 demo describes (with a script) how that would look like. See demo0