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

gregor herrmann gregoa at debian.org
Sat Sep 19 19:24:31 UTC 2015


On Sat, 19 Sep 2015 21:05:10 +0300, Niko Tyni wrote:

> 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.

Right. env-smoke helped me in one situation (although setting
HOME=$ADTTMP felt a bit odd, and could be done by the test scripts)
but I didn't succeed with one of the *apache* packages.
 
> 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 agree that we'll need something executable if we want to run all
tests everywhere. I guess this is a question of trade-offs between
running more tests and adding more complexity. Not sure yet which
side I'm on :)


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer -  https://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Arlo Guthrie & Pete Seeger: Arlo Guthrie - Amazing Grace
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20150919/20ac055d/attachment.sig>


More information about the pkg-perl-maintainers mailing list