thebeanogamer / rpms / qemu-kvm

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