On 16.08.2017 12:13, Fam Zheng wrote: > On Wed, 08/16 11:24, Kamil Rytarowski wrote: >> On 16.08.2017 09:20, Fam Zheng wrote: >>> Build tests in one 32 bit Linux guest and three BSD images are defined in >>> this >>> series. This is a more managable way than the manually maintained virtual >>> machines in patchew. Also, one big advantage of ephemeral VMs over long >>> running >>> guests is the reduced RAM usage of host, which makes it possible to have one >>> host test all these BSD variants and probably more. >>> >> >> Thank you for your work on this! >> >>> The BSD guest templates are manually prepared following >>> >>> https://wiki.qemu.org/Hosts/BSD >>> >>> as it is not easy to automate. (The ideal approach is like the ubuntu.i386 >>> script, which configures the guest on top of an official released image, >>> fully >>> automatically.) >>> >> >> For the reference, inside the NetBSD infrastructure we use homegrown Anita: >> >> http://pkgsrc.se/misc/py-anita > > Looks cool. Is it suitable for using to implement tests/vm/netbsd? Is there a > user documentation? > > Fam >
Documentation: http://www.gson.org/netbsd/anita/ I'm not sure if it is suitable. It was designed with a different goal - to verify the process of installation and execution of ATF (regress) tests. The process of clean installation of NetBSD for every patch is overkill... however this might be a source of inspiration. (I've not been digging into the source code).
signature.asc
Description: OpenPGP digital signature