acpi/tests/avocado/bits: add acpi and smbios avocado tests that uses biosbits
commit77a8e24c5bd3f71580f7c7e17e7e6bf827bd9d8c
authorAni Sinha <ani@anisinha.ca>
Fri, 21 Oct 2022 09:51:06 +0000 (21 15:21 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 2 Nov 2022 10:56:32 +0000 (2 06:56 -0400)
treef8bd4aa4602a39e190305d0110e1ea4d5de558dd
parentfa2cd84b2291b3c0de1a71cca55acb3e86a7578a
acpi/tests/avocado/bits: add acpi and smbios avocado tests that uses biosbits

This introduces QEMU acpi/smbios biosbits avocado test which is run
from within the python virtual environment. When the bits tests are run, bits
binaries are downloaded from an external repo/location, bios bits iso is
regenerated containing the acpi/smbios bits tests that are maintained as a part
of the QEMU source under tests/avocado/acpi-bits/bits-test . When the VM is
spawned with the iso, it runs the tests in batch mode and the results are pushed
out from the VM to the test machine where they are analyzed by this script and
pass/fail results are reported.

Cc: Daniel P. Berrangé <berrange@redhat.com>
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Maydell Peter <peter.maydell@linaro.org>
Cc: John Snow <jsnow@redhat.com>
Cc: Thomas Huth <thuth@redhat.com>
Cc: Alex Bennée <alex.bennee@linaro.org>
Cc: Igor Mammedov <imammedo@redhat.com>
Cc: Michael Tsirkin <mst@redhat.com>
Signed-off-by: Ani Sinha <ani@anisinha.ca>
Message-Id: <20221021095108.104843-6-ani@anisinha.ca>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
tests/avocado/acpi-bits.py [new file with mode: 0644]