Bug#799486: pkg-perl-autopkgtest: setup hook for running scripts before testing

Niko Tyni ntyni at debian.org
Sat Sep 19 18:05:10 UTC 2015


Package: pkg-perl-autopkgtest
Version: 0.25
Severity: wishlist

While debian/tests/pkg-perl/env-smoke (#763541) solved most issues
with unusual test suites that require special treatment, there are
still some that need patching or other workarounds.  One of these is
libnet-sftp-sftpserver-perl, which would need a special directory
created under $ADTTMP. Another is libapache2-authcookie-perl (and
other Apache-Test based modules) which wants t/TEST.PL executed before
the tests.  I'm sure there are others.

While I'd love to keep the stuff in debian/tests/pkg-perl declarative,
there's a point of diminishing returns with adding special cases. I
suspect this is the time, and adding a setup hook that could run an
arbitrary script/executable would make sense.

I'd be happy to hear what others think about this.
-- 
Niko



More information about the pkg-perl-maintainers mailing list