in reply to Re^11: Creating coverage big report
in thread Creating coverage big report
The script looks like:setenv DEVEL_COVER_DB_FORMAT JSON setenv PERL5OPT "-MDevel::Cover=+ignore,/cov/,/data/,-silent,1,-summar +y,0,+select,project/" ./script.pl unsetenv PERL5OPT /usr/pkgs/perl/5.14.1/bin/cover
I unset PERL5OPT because if not and I run the cover script it fails with:#!/usr/pkgs/perl/5.14.1/bin/perl use strict; use warnings; my $cmd = "/project/bin/create_d.pl --data abc system($cmd); print("Done"); exit(0);
Anyway, after unsetting PERL5OPT I run the cover script and get:/usr/pkgs/perl/5.14.1/bin/cover shouldn't be run with coverage turned +on.
I use only one version and that is 5.14.1 - both in coverage, script's shabeng and all of the project's scripts. So I does not seems to be a version issue. Any ideas what it also could be?Reading database from /play_ground/cov/cover_db found cover.13 in /play_ground/cov/cover_db/runs/1570662588.11726.0385 +0 at /usr/pkgs/perl/5.14.1/lib64/module/r3/x86_64-linux/Devel/Cover/D +B.pm line 203. Devel::Cover: /play_ground/cov/cover_db/runs/1570662588.11726.03850 is + an invalid database found cover.13 in /play_ground/cov/cover_db/runs/1570662590.11725.0717 +0 at /usr/pkgs/perl/5.14.1/lib64/module/r3/x86_64-linux/Devel/Cover/D +B.pm line 203. Devel::Cover: /play_ground/cov/cover_db/runs/1570662590.11725.07170 is + an invalid database ---------------------------------------------------------------------- +------- File ---------------------------------------------------------------------- +------- Total ---------------------------------------------------------------------- +------- HTML output written to /play_ground/cov/cover_db/coverage.html done.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^13: Creating coverage big report
by jcb (Parson) on Oct 09, 2019 at 23:24 UTC |