From 622f7edd064fba765e72bf9074d5bd9d4fd69c40 Mon Sep 17 00:00:00 2001 From: "Jonathan \"Duke\" Leto" Date: Fri, 4 Nov 2011 18:53:55 -0700 Subject: Attempt to generate coverage reports for projects with a Build.PL --- scripts/capsule.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/capsule.sh') 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 -- cgit v1.2.3