Tuesday, 17 September 2013

Is it possible to install perl prerequisites before distribution testing and how?

Is it possible to install perl prerequisites before distribution testing
and how?

I try to build a Perl distribution for a home-made module, from the
Module::Starter base. Every test pass on my machine, but when I upload it
to CPAN to get some more universal tests from cpantesters.org, some test
failed on other architectures or OS. I can see in test reports that some
of my prerequisites are not installed before testing but I would like it
to.
I've tried to list these dependencies into the Makefile.PL PREREQ_PM hash
and then in the TEST_REQUIRES hash, but it didn't changed a lot of
results.
Then, when I've removed the dependencies from my local machine and tried
to install my module using Cpanm, it downloads dependencies first, test
passed and install has been a success.
This is my first try for a module, so I think I am missing something,
maybe I am too used of the Cpanm magic. Thanks for any help.

No comments:

Post a Comment