Closed keiranmraine closed 8 years ago
CavemanPostProcessor.pm doesn't have use warnings; (ideally FATAL=>all) so when run under make install we see many warnings of:
use warnings;
FATAL=>all
make install
Use of uninitialized value $xt in string eq at /tmp/downloads/cgpCaVEManPostProcessing/blib/lib/Sanger/CGP/CavemanPostProcessor.pm line 506.
This line should be modified to:
return if ($keepSW == 0 && defined $xt && $xt eq 'M');
Additionally to ensure that these do not slip through the prerelease.sh can be modified to behave like make by changing this line to:
prerelease.sh
make
prove --nocolor -w -I ./lib | sed 's/^/ /' # indent output of prove
CavemanPostProcessor.pm doesn't have
use warnings;
(ideallyFATAL=>all
) so when run undermake install
we see many warnings of:This line should be modified to:
Additionally to ensure that these do not slip through the
prerelease.sh
can be modified to behave likemake
by changing this line to: