Regression testing with ExtUtils :: MakeMaker
By default , makeMaker make files are shipped with a goal testthat runs all the regression tests test.plin the current directory as well as all the files that match glob("t/*.t")at startup make test. Your typical use should be:
perl Makefile.PL
make
make test
make install
You can define your own goals make, there is information about the variables that you can set in the CPAN documentation for the module as manpage.
This is an example from a CPAN article:
sub MY::postamble {
return <<'MAKE_FRAG';
$(MYEXTLIB): sdbm/Makefile
cd sdbm && $(MAKE) all
MAKE_FRAG
}
source
share