yeahuh / rpms / qemu-kvm

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