peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame README.tests

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