Re: pbuilder and debhelper: Test suite run before dependencies satisfied
* Ben Finney [Fri, 12 Sep 2008 18:14:54 +1000]:
> How is this supposed to work?
Running test suites indeed normally needs the binary's dependencies to
be installed. This works out of the box for eg. C binaries/packages
because these dependencies will be already installed in the chroot (for
a C binary to gain a dependency on a library, it must link against it;
to link against it, it must be installed).
Python, and interpreted languages in general, are different, because you
can build the package without the runtime dependencies being installed
in the chroot. So, if you want to run the test suite for a Python program,
you'll have to duplicate the dependencies into the build-depends field.
HTH,
--
Adeodato Simó dato at net.com.org.es
Debian Developer adeodato at debian.org
Listening to: Miguel Bosé - A millones de km de aquí
Reply to: