https://bugzilla.novell.com/show_bug.cgi?id=677789
https://bugzilla.novell.com/show_bug.cgi?id=677789#c7
Bernhard Wiedemann changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |REOPENED
InfoProvider|bwiedemann@novell.com |
--- Comment #7 from Bernhard Wiedemann 2011-05-04 11:25:31 CEST ---
The iso file is passed to kvm with -cdrom $iso because most of the non-kiwi
testruns are centered around isos containing the software to test. It is
possible to generalize that to also include HDD images that can be booted in
qemu/kvm.
it is probably possible to start&kill a new VM for each test. But it needs
extra time for the repeated BIOS/bootloader/kernel/init part. And it might need
some code changes.
but you can also run
DISTRI=manual ISO=/path/to/os-image.iso ./start.pl
to bring up the VM and provide VNC for manual interaction and a TCP port
(default:15223) for script interaction with it.
This part will exit after 100 minutes or upon VM inactivity.
Then you still need another script to run single tests. You could set the env
var QEMUPORT=15223 and use the normal code paths for sending commands from
stand-alone tests.
And you need a way to decide if the outcome was OK/fail/unknown possibly also
using the basetest::check method.
Some kiwi image types do need an install step, but that could be included in
the start procedure.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.