Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: Limited Coverage

by molecules (Monk)
on Jan 21, 2010 at 21:57 UTC ( [id://818820]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Limited Coverage
in thread Limited Coverage

Perhaps try invoking Devel::Cover a different way. I use the following commands and I've never seen it test anything outside of the directory in which I was working.
cover -delete HARNESS_PERL_SWITCHES=-MDevel::Cover perl ./Build test cover
Actually, what I really do is use a bash script:
#!/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
I wish I could help more, but I'm currently at the limit of my experience on this issue.

Good luck.

Replies are listed 'Best First'.
Re^4: Limited Coverage
by Herkum (Parson) on Jan 21, 2010 at 22:23 UTC
    I am assuming that this was a *NIX system, because it did not work on mine, which was Windows... :(
      Sorry. I'm having problems getting Devel::Cover to install on Strawberry Perl right now.
      dmake.EXE: makefile: line 1113: Error: -- A non AUGMAKE meta target +must not be mixed with AUGMAKE meta targets, offending target [BUGS] PJCJ/Devel-Cover-0.65.tar.gz

      Sorry, I wish I had more time to check it out.

      Good luck!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://818820]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 06:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found