diff options
author | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-11-04 18:53:55 -0700 |
---|---|---|
committer | Jonathan "Duke" Leto <jonathan@leto.net> | 2011-11-04 18:53:55 -0700 |
commit | 622f7edd064fba765e72bf9074d5bd9d4fd69c40 (patch) | |
tree | 282611ad04a3124d012dacc0b25e91483ed17aff /scripts/capsule.sh | |
parent | Add a note to the readme about current non-Perl dependencies (diff) | |
download | jitterbug-622f7edd064fba765e72bf9074d5bd9d4fd69c40.tar.gz |
Attempt to generate coverage reports for projects with a Build.PL
Diffstat (limited to '')
-rwxr-xr-x | scripts/capsule.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/capsule.sh b/scripts/capsule.sh index 548780e..6cf2bc7 100755 --- a/scripts/capsule.sh +++ b/scripts/capsule.sh @@ -23,6 +23,8 @@ function jitterbug_build () { # Run this again in case our Build is out of date (suboptimal) perl Build.PL >> $logfile 2>&1 HARNESS_VERBOSE=1 HARNESS_TIMER=1 ./Build test --verbose >> $logfile 2>&1 + coverlogfile="$report_path/perl-$theperl-coverage.txt" + HARNESS_VERBOSE=1 HARNESS_TIMER=1 ./Build testcover --verbose >> $coverlogfile 2>&1 elif [ -f 'Makefile.PL' ]; then echo "Found Makefile.PL" perl Makefile.PL >> $logfile 2>&1 |