Bug#692812: src:fluidsynth: libfluindsynth-dev needs a compile/link/run autopkg test
Martin Pitt
mpitt at debian.org
Mon Nov 12 14:46:43 UTC 2012
Hello Reinhard,
Reinhard Tartler [2012-11-12 15:28 +0100]:
> Does it really? The attached build script does not seem to include any
> reference to pkg-config,etc.
Oops, indeed; it does for other autopkgtests, that slipped through the
copy&paste, sorry. So, just include files/dependencies.
> What is the easiest and fastest way to actually run adt tests?
>
> I did skim through the adt specification and the package
> documentation, but I am not going to setup XEN and LVM. isn't there
> also easier and more lightweight options? Maybe something involving
> qemu/kvm that does not require root?
I don't use either. For simple cases which do not destroy the test bed
(like this test), the easiest thing to do is to run it on the local
system:
sudo adt-run --built-tree=. --no-built-binaries --- adt-virt-null
the "null" runner does not do any chroot, etc.
autopkgtest does not (yet) have an adt-virt-kvm; we do have some
scripts in Ubuntu to create a VM with kvm (prepare-testbed) and run an
autopkgtest in that VM (run-adt-test):
http://bazaar.launchpad.net/~auto-package-testing-dev/auto-package-testing/trunk/files
doc/USAGE.md shows the details. But as I said, adt-virt-null is
perfectly fine for this particular test.
You can also just run "debian/tests/build; echo $?", but that won't
ensure that all the test dependencies are installed, that the test
exits with 0 and that nothing goes to stderr.
Thanks,
Martin
--
Martin Pitt | http://www.piware.de
Ubuntu Developer (www.ubuntu.com) | Debian Developer (www.debian.org)
More information about the pkg-multimedia-maintainers
mailing list