cryptospore / rpms / qemu-kvm

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