Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Coverage History

by 1nickt (Canon)
on Feb 18, 2016 at 01:23 UTC ( [id://1155512]=note: print w/replies, xml ) Need Help??


in reply to Coverage History

Hi choroba,

Great idea!

I installed the dependencies and launched the program. Unfortunately it appears to hang on the first commit it reads:

$ perl ./coverage.pl 1/187 Note: checking out '87b89525e1f99c0070e6e62d86a3c30a77b3f631'. You are in 'detached HEAD' state. You can look around, make experiment +al changes and commit them, and you can discard any commits you make in t +his state without impacting any branches by performing another checkout. If you want to create a new branch to retain commits you create, you m +ay do so (now or later) by using -b with the checkout command again. Exam +ple: git checkout -b new_branch_name HEAD is now at 87b8952... Add rule to Utils::Location::ParseInput for +afb/Air Force Base Use of uninitialized value $_[1] in system at ./coverage.pl line 21.
Nothing after that ...

Thanks!


The way forward always starts with a minimal test.

Replies are listed 'Best First'.
Re^2: Coverage History
by choroba (Cardinal) on Feb 18, 2016 at 09:24 UTC
    Does it really hang, or do you get the prompt back? Is there any Makefile.PL or Build.PL present? If you use something like Dist::Zilla, you'll have to add support for it to make_or_build .
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

      • It was really hanging.
      • However there was no Makefile.PL present. I created one, and the program ran to completion.
      • However, I think it doesn't recursively descend into subdirs of /t:
        PERL_DL_NONLAZY=1 "/home/vagrant/perl5/perlbrew/perls/perl-5.16.3/bin/ +perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test:: +Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t Files=0, Tests=0, 0 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU +) Result: NOTESTS
        $ ls -la t total 28 drwxrwxr-x 7 vagrant vagrant 4096 Jan 11 21:33 . drwxrwxr-x 13 vagrant vagrant 4096 Feb 18 12:39 .. drwxrwxr-x 2 vagrant vagrant 4096 Jan 21 09:27 00-general drwxrwxr-x 5 vagrant vagrant 4096 Feb 5 20:25 10-job drwxrwxr-x 2 vagrant vagrant 4096 Jan 19 20:57 20-site drwxrwxr-x 2 vagrant vagrant 4096 Feb 5 20:25 30-feed drwxrwxr-x 2 vagrant vagrant 4096 Feb 17 17:58 40-utils
      • Not sure where to specify recursion into /t subdirs.

      Thanks!

      The way forward always starts with a minimal test.
        It runs
        cover -test

        If you need to run something else, modify line 190.

        ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-23 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found