put the coverage db in /tmp

This commit is contained in:
JT Smith 2007-02-25 21:17:48 +00:00
parent 2ae31ce34b
commit 747e130013

View file

@ -76,7 +76,7 @@ my $prefix = "WEBGUI_CONFIG=".$configFile;
$prefix .= " CODE_COP=1" unless $noLongTests;
# Add coverage tests
$prefix .= " PERL5OPT='-MDevel::Cover'" if $coverage;
$prefix .= " PERL5OPT='-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');