Hi, I'm working on getting virt-test working a bit better on Ubuntu, and I'd like to figure out how to best write code to accomplish making bits work easily on other distros.
One thing I noticed was that in tp-qemu there are a few yum references either hardcoded into the python tests, or as configuration variables. Since I'm new to this code base, is there an easy to use distro-neutral 'install package X' python function somewhere that can be used? If not, where would be the best place to write such a function (virt-tests, tp-qemu)? Overall it would be great if a test case required packages to be installed in the virt guest to have a generic parameter such as 'vm_install_packages = valgrind'. Then the test case parses this and determines which distro the VM is and attempts to use that package manager for installing any package dependencies. Anyway, feedback would be helpful before I embark on hacking on this. Thanks, --chris j arges _______________________________________________ Virt-test-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/virt-test-devel
