[PATCH 2/3] autodetect Perl packages
On Mon, Sep 08, 2014 at 01:32:42PM +0200, Martin Pitt wrote:
> Hang on, I think I was wrong in my previous mail: THe "runtime-deps"
> test already works, it's the "buildtime-deps" test that fails. That
> one probably shouldn't cd away from the original source dir, as I
> assume the purpose of that one is to run the upstream tests on the
> upstream source?
The purpose is to re-use the upstream build time test suite and run
it against the installed modules. (The distinction between source and
binary is rather hazy with script languages, of course.)
For this we need the build dependencies installed (hence "build-deps"
[not "buildtime-deps"]) because they usually include quite a few Test::*
modules needed by the test suite. We don't want/need the original source
tree around, though.
If we had a distinction for "real" build dependencies and test suite
dependencies, we'd only need the latter. Unfortunately we don't currently
All this is sort of a hack but we expect it to work for almost all the
packages. The POD thing wasn't expected; we'll see if there are more
The "runtime-deps" tests do much less because it's hard to come
up with other generic tests there apart from "use Some::Module".
Hope this clears it up,
Niko Tyni ntyni at debian.org