On Fri, Jun 17, 2022 at 10:44 PM Ani Sinha <a...@anisinha.ca> wrote: > > oops, Phil's redhat email bounced! > > On Fri, Jun 17, 2022 at 10:41 PM Ani Sinha <a...@anisinha.ca> wrote: > > > > Hi : > > I am trying to write a new ACPI/smbios test framework that uses bios > > bits (https://biosbits.org/ ). > > This test will effectively: > > (a) use a pre-built bits software zip file kept somewhere (where to > > keep is TBD). > > (b) unzip it. > > (c) add a python based acpi and smbios test script to the unzipped > > bits directory. > > (d) make an iso out of the directory. > > (e) spawn a qemu instance with the iso. The iso is built such that it > > runs the acpi/smbios tests in batch mode. After running the test, the > > spawned instance is killed automatically (vm shutdown). > > (f) Collect the logs the vm has sent out. > > (g) look for test failures. > > > > My question is, what framework would be best to achieve the above?
Never mind. docs/devel/testing.rst talks about QEMUMachine which seems to be exactly what I want to use for this relatively simple test. I > > looked around and it seems closest to the avocado based integration > > tests. I do not think it is qtest and qtest backend is not required > > here. > > > > Suggestions welcome. > > Thanks > > ani