fix for Devel::Cover warnings that clutter up the smoke test report. Also, fix the --help switch to testCodebase.pl
This commit is contained in:
parent
1b51697dbd
commit
dcd20ec8d9
2 changed files with 7 additions and 1 deletions
|
|
@ -14,6 +14,7 @@
|
|||
- safely allow sorting by more fields in collaboration systems
|
||||
- fix: iCal link on calendar doesn't work
|
||||
- fix: error when deleting profile fields with non-alphanumeric names
|
||||
- fix: Devel::Cover tests don't work (perlDreamer Consulting, LLC.)
|
||||
|
||||
7.4.10
|
||||
- fix: Graphs aren't sized properly using GraphicsMagick
|
||||
|
|
|
|||
|
|
@ -54,6 +54,11 @@ my $helpmsg=<<STOP;
|
|||
|
||||
STOP
|
||||
|
||||
if ($help) {
|
||||
print $helpmsg;
|
||||
die "\n";
|
||||
}
|
||||
|
||||
my $verboseFlag = "-v" if ($verbose);
|
||||
|
||||
$perlBase .= '/bin/' if ($perlBase);
|
||||
|
|
@ -76,7 +81,7 @@ my $prefix = "WEBGUI_CONFIG=".$configFile;
|
|||
$prefix .= " CODE_COP=1" unless $noLongTests;
|
||||
|
||||
# Add coverage tests
|
||||
$prefix .= " PERL5OPT='-MDevel::Cover=-db,/tmp/coverdb'" if $coverage;
|
||||
$prefix .= " HARNESS_PERL_SWITCHES='-MDevel::Cover=-db,/tmp/coverdb'" if $coverage;
|
||||
|
||||
print(join ' ', $prefix, $perlBase."prove", $verboseFlag, '-r ../t'); print "\n";
|
||||
system(join ' ', $prefix, $perlBase."prove", $verboseFlag, '-r ../t');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue