yeahuh / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone
ae23c9
qemu-kvm-tests README
ae23c9
=====================
ae23c9
ae23c9
The qemu-kvm-tests rpm contains tests that can be used to verify the
ae23c9
functionality of the installed qemu-kvm package
ae23c9
ae23c9
When installed, the files from this rpm will be arranged in the following
ae23c9
directory structure
ae23c9
ae23c9
tests-src/
ae23c9
├── README
ae23c9
├── scripts
ae23c9
│   ├── qemu.py
ae23c9
│   └── qmp
ae23c9
└── tests
ae23c9
    ├── acceptance
ae23c9
    ├── Makefile.include
ae23c9
    └── qemu-iotests
ae23c9
ae23c9
The tests/ directory within the tests-src/ directory is setup to remain a copy
ae23c9
of a subset of the tests/ directory from the QEMU source tree
ae23c9
ae23c9
The avocado_qemu tests and qemu-iotests, along with files required for the
ae23c9
execution of the avocado_qemu tests (scripts/qemu.py and scripts/qmp/) will be
ae23c9
installed in a new location - /usr/lib64/qemu-kvm/tests-src/
ae23c9
ae23c9
avocado_qemu tests:
ae23c9
The avocado_qemu tests can be executed by running the following avocado command:
ae23c9
avocado run -p qemu_bin=/usr/libexec/qemu-kvm /usr/lib64/qemu-kvm/tests/acceptance/
ae23c9
Avocado needs to be installed separately using either pip or from source as
ae23c9
Avocado is not being packaged for RHEL-8.
ae23c9
ae23c9
qemu-iotests:
ae23c9
symlinks to corresponding binaries need to be created for QEMU_PROG,
ae23c9
QEMU_IO_PROG, QEMU_IMG_PROG, and QEMU_NBD_PROG before the iotests can be
ae23c9
executed.
ae23c9
ae23c9
The primary purpose of this package is to make these tests available to be
ae23c9
executed as gating tests for the virt module in the RHEL-8 OSCI environment.