Re: Is it possible to run autopkgtest without a virtual machine ?
Le Fri, Jun 22, 2012 at 01:24:43PM +0900, Charles Plessy a écrit :
>
> adt-run needs a virtual machine. I know that some developers have
> some workarounds, but couldn't autopkgtest also support running tests on the local
> system ? This would be tremendously useful when the tests can be contained in
> the binary packages, as it would make it very easy for our users and ourselves
> to test the packages.
Thanks to Michael's hint, I found that the following command will work locally.
sudo adt-run --no-built-binaries foo.dsc --- adt-virt-null
(See https://lists.debian.org/debian-devel/2012/06/msg00501.html )
I guess that the next step is to let autopkgtest run as a user
(http://bugs.debian.org/648148), make it easier to invoke (adt-virt-null is not
mentionned in the manual page, and even with --no-built-binaries it still tries
to download some stuff or create a GPG key), and give it a more user-friendly
output.
For people with free time, that would probably be high-impact contribution. I
will add more autopkgtest to my packages, and would love to be able to tell to
our users a simple command to test if the package is working on their system.
Have a nice week-end,
--
Charles Plessy
Debian Med packaging team,
http://www.debian.org/devel/debian-med
Tsurumi, Kanagawa, Japan
Reply to: