[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debianizing perl modules - tests



> Hi. I ask because I can't find anything in the Perl Policy:
> 
> Is running 'make test' after building module discouraged in Debian? In
> fact it could eat a lot of resources on builders...

The vast majority of debianized modules do not and I don't really see
the point in doing the tests each time the module is built in most
cases.

The relevant section of policy seem to imply "no" through ommision as
well (someone more knowledgable should correct me if I'm wrong here):

<snip>
A module should use the following lines in the debian/rules build
target[3]:

perl Makefile.PL INSTALLDIRS=vendor
$(MAKE) OPTIMIZE="-O2 -g -Wall"

and this one to install the results into the temporary tree:

$(MAKE) install PREFIX=$(CURDIR)/debian/tmp/usr
</snip>

Of course, I run the tests in a simulated build environment to make
sure things work but I do not run tests when I building the modules into
a package.

-- 
Mako Hill
mako@debian.org
http://people.debian.org/~mako/

Attachment: pgp9Jlk71LY92.pgp
Description: PGP signature


Reply to: