Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Devel::Cover on Windows?

by rob_au (Abbot)
on Apr 06, 2004 at 12:17 UTC ( #342907=note: print w/ replies, xml ) Need Help??


in reply to Devel::Cover on Windows?

The requirements for this module necessitate Perl 5.6.1 or greater, the ability to compile XS extensions (emphasis added my own), Storable, Digest::MD5, Pod::Coverage (for POD coverage testing) and Test::Differences (for test failure comparison). The ability to compile XS extensions will necessitate the same compiler installed on your system as what was used to build your Perl installation.

See the nodes A Guide to Installing Modules and A Practical Guide to Compiling C based Modules under ActiveState using Microsoft C++.

(By the way, this module is definitely worth the installation effort - It positively has to be the best tool to use to assist and direct your test development efforts).

 

perl -le "print unpack'N', pack'B32', '00000000000000000000001011001100'"


Comment on Re: Devel::Cover on Windows?
Re: Devel::Cover on Windows?
by Brutha (Friar) on Apr 06, 2004 at 13:30 UTC
    Sorry, if I was unclear.

    As I sit behind a firewall, I have no access to PPM packages. So I made most modules by myself, including DBD::DB2, Tk and others. So, I consider myself being able to compile XS extensions. The perl Makefile.PL tells me about the dependent modules, if they are not installed.

    The main problem is, that it does not seem to be as easy as to exchange the call to gettimeofday() with something functional equivalent, like _ftime(). My try did not change the external behaviour of Devel::Cover::get_elapsed(), that was easy to do without knowledge of Devel::Cover internals. But afterwards all tests failed, but only if not run through the debugger. The README says, there is debugger support, so that should not be the problem.

    And it came to pass that in time the Great God Om spake unto Brutha, the Chosen One: "Psst!"
    (Terry Pratchett, Small Gods)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (8)
As of 2014-07-29 07:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (211 votes), past polls