in reply to Re^2: Limited Coverage
in thread Limited Coverage
Actually, what I really do is use a bash script:cover -delete HARNESS_PERL_SWITCHES=-MDevel::Cover perl ./Build test cover
I wish I could help more, but I'm currently at the limit of my experience on this issue.#!/bin/bash if [ -f Build.PL ]; then makecommand="perl ./Build" elif [ -f Makefile.PL ]; then makecommand=make else echo Cannot generate coverage information from this directory! exit 1 fi cover -delete; HARNESS_PERL_SWITCHES=-MDevel::Cover $makecommand test; + cover
Good luck.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Limited Coverage
by Herkum (Parson) on Jan 21, 2010 at 22:23 UTC | |
by molecules (Monk) on Jan 21, 2010 at 23:38 UTC |