Bug#870249: pkg-perl-autopkgtest: look at 'tests' in Module::Install based Makefile.PL files

Niko Tyni ntyni at debian.org
Wed Aug 2 08:58:43 UTC 2017


On Mon, Jul 31, 2017 at 01:00:20PM +0300, Niko Tyni wrote:
> Package: pkg-perl-autopkgtest
> Version: 0.37
> Severity: wishlist
> 
> Apparently Module::Install supports a 'tests' line in Makefile.PL
> listing the tests to be run at build time. It would be nice if
> smoke.t looked at that instead of needing duplicated information in
> debian/tests/pkg-perl/smoke-tests .
> 
> The package where I encountered this is libmousex-types-perl.

A more general way to do this would be as discussed in #870334 :

 perl Makefile.PL && make -n -p | sed -n 's/^TEST_FILES = //p'

Possibly these two bugs should be merged but not doing that
quite yet.
-- 
Niko



More information about the pkg-perl-maintainers mailing list