Skip Menu |
 

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Devel-Cover CPAN distribution.

Report information
The Basics
Id: 18216
Status: rejected
Priority: 0/
Queue: Devel-Cover

People
Owner: Nobody in particular
Requestors: nospam-abuse [...] bloodgate.com
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.55
Fixed in: (no value)



Subject: POD method to cover tests doesn't work with Module::Install
Download (untitled) / with headers
text/plain 1.2k
Moin, from ther POD: To test an uninstalled module: cover ‐delete HARNESS_PERL_SWITCHES=‐MDevel::Cover make test cover If the module does not use the t/*.t framework: PERL5OPT=‐MDevel::Cover make test However, when trying this with Graph::Easy, I get: First variant produces: PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/anon.t t/as_txt.t t/ascii.t t/astar.t t/attributes.t t/base.t t/boxart.t t/cell.t t/chain.t t/cluster.t t/delete.t t/drop.t t/easypm.t t/edge.t t/edge_cell.t t/fb.t t/graph.t t/graphviz.t t/group.t t/html.t t/layers.t t/layout.t t/layouter.t t/node.t t/node_mc.t t/parse_att.t t/parse_edge.t t/parser.t t/parser_dot.t t/path.t t/pod.t t/pod_cov.t t/re_layout.t t/split.t t/use_class.t t/anon..........Can't open perl script "‐MDevel::Cover": No such file or directory t/anon..........dubious ... [continued] (e.g. no tests are run) Second variant produces: Illegal switch in PERL5OPT: -. make: *** [pm_to_blib.ts] Error 29 I thought it was because it uses Module::Install, be other modules from me not unsing M::I do not work, either. Using: ExtUtils::MakeMaker 6.25, Perl v5.8.6. This happens as root and as regular user. Best wishes, Tels
Subject: Re: [rt.cpan.org #18216] POD method to cover tests doesn't work with Module::Install
Date: Sat, 30 Dec 2006 17:11:09 +0100
To: via RT <bug-Devel-Cover [...] rt.cpan.org>
From: Paul Johnson <paul [...] pjcj.net>
Download (untitled) / with headers
text/plain 1.8k
On Fri, Mar 17, 2006 at 08:29:56AM -0500, via RT wrote: Show quoted text
> from ther POD: > > To test an uninstalled module: > > cover ‐delete > HARNESS_PERL_SWITCHES=‐MDevel::Cover make test > cover > > If the module does not use the t/*.t framework: > > PERL5OPT=‐MDevel::Cover make test > > However, when trying this with Graph::Easy, I get: > > First variant produces: > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/anon.t t/as_txt.t > t/ascii.t t/astar.t t/attributes.t t/base.t t/boxart.t t/cell.t > t/chain.t t/cluster.t t/delete.t t/drop.t t/easypm.t t/edge.t > t/edge_cell.t t/fb.t t/graph.t t/graphviz.t t/group.t t/html.t > t/layers.t t/layout.t t/layouter.t t/node.t t/node_mc.t t/parse_att.t > t/parse_edge.t t/parser.t t/parser_dot.t t/path.t t/pod.t t/pod_cov.t > t/re_layout.t t/split.t t/use_class.t > t/anon..........Can't open perl script "‐MDevel::Cover": No such file or > directory > t/anon..........dubious > ... [continued] > > (e.g. no tests are run) > > Second variant produces: > > Illegal switch in PERL5OPT: -. > make: *** [pm_to_blib.ts] Error 29 > > I thought it was because it uses Module::Install, be other modules from > me not unsing M::I do not work, either. > > Using: ExtUtils::MakeMaker 6.25, Perl v5.8.6. > > This happens as root and as regular user.
This one had me stumped for a while. I have downloaded and built Graph::Easy 0.50 and it works fine with Devel::Cover. Then I noticed that dash character in your report doens't look quite right and, indeed, it turns out to be 0x2010 instead of the expected 0x2d. I suspect that you have copied and pasted the test from some overenthusiastic pod tool somewhere. So I'm going to mark this as rejected, but feel free to reopen it if I am mistaken. Thanks, -- Paul Johnson - paul@pjcj.net http://www.pjcj.net
Subject: Re: [rt.cpan.org #18216] POD method to cover tests doesn't work with Module::Install
Date: Sun, 31 Dec 2006 02:01:18 +0100
To: bug-Devel-Cover [...] rt.cpan.org
From: Tels <nospam-abuse [...] bloodgate.com>
Download (untitled) / with headers
text/plain 3.6k
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Moin, On Saturday 30 December 2006 17:11, paul@pjcj.net via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=18216 > > > On Fri, Mar 17, 2006 at 08:29:56AM -0500, via RT wrote:
> > from ther POD: > > > > To test an uninstalled module: > > > > cover ‐delete > > HARNESS_PERL_SWITCHES=‐MDevel::Cover make test > > cover > > > > If the module does not use the t/*.t framework: > > > > PERL5OPT=‐MDevel::Cover make test > > > > However, when trying this with Graph::Easy, I get: > > > > First variant produces: > > > > PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" > > "test_harness(0, 'inc', 'blib/lib', 'blib/arch')" t/anon.t t/as_txt.t > > t/ascii.t t/astar.t t/attributes.t t/base.t t/boxart.t t/cell.t > > t/chain.t t/cluster.t t/delete.t t/drop.t t/easypm.t t/edge.t > > t/edge_cell.t t/fb.t t/graph.t t/graphviz.t t/group.t t/html.t > > t/layers.t t/layout.t t/layouter.t t/node.t t/node_mc.t t/parse_att.t > > t/parse_edge.t t/parser.t t/parser_dot.t t/path.t t/pod.t t/pod_cov.t > > t/re_layout.t t/split.t t/use_class.t > > t/anon..........Can't open perl script "‐MDevel::Cover": No such file > > or directory > > t/anon..........dubious > > ... [continued] > > > > (e.g. no tests are run) > > > > Second variant produces: > > > > Illegal switch in PERL5OPT: -. > > make: *** [pm_to_blib.ts] Error 29 > > > > I thought it was because it uses Module::Install, be other modules from > > me not unsing M::I do not work, either. > > > > Using: ExtUtils::MakeMaker 6.25, Perl v5.8.6. > > > > This happens as root and as regular user.
> > This one had me stumped for a while. I have downloaded and built > Graph::Easy 0.50 and it works fine with Devel::Cover. > > Then I noticed that dash character in your report doens't look quite > right and, indeed, it turns out to be 0x2010 instead of the expected > 0x2d. I suspect that you have copied and pasted the test from some > overenthusiastic pod tool somewhere. > > So I'm going to mark this as rejected, but feel free to reopen it if I am > mistaken.
Sorry for repoen, please feel free to close again :) Just for the record: * I don't remember where I copied this from, it has been too long ago - luckily it isn't already a year ago. Responding a bit more timely might have been more usefull * I do *think* the problem stems from the fact that when you do: perldoc Foo:Bar on a unicode console, you get the mangled "-" characters. te@linux:~/perl/release> perldoc bignum te@linux:~/perl/release> perl ‐Mbignum ‐le ’print ref(2**255)’ bash: syntax error near unexpected token `(' This is either a SuSE specific problem (this occurs under SuSE 9.x as well as SuSE 10.1) or a KDE konsole problem or some problem of perldoc. I complained about a similiar problem to perl5-porters a few years ago - but as far as I can see it never got resolved nor investigated properly, anyway. Sorry for confusing you :( Best wishes, Tels - -- Signed on Sun Dec 31 01:57:15 2006 with key 0x93B84C15. View my photo gallery: http://bloodgate.com/photos PGP key on http://bloodgate.com/tels.asc or per email. "Carpal Tunnel Syndrome is a non-fatal terminal disease." - Dr. Alexander Fisher -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iQEVAwUBRZcL5ncLPEOTuEwVAQIpZAf+LIFZ3XK+xb7JY5zXHr9lfra8J/gJmRiC OKbO8afj5pbe4/OfQnEeigh+3kGyFq0OByoFj8KpaC+ZMJpwpPNZQFRVGXNcIX8C KoVtR+RCOYk8SSmeHC7rwpgy/tYVBpB7LgMoADowegukluyoF+vlhlXLJsLQ2aFC VRGgy0n7aNabDw9rz1lYJyN2NNB4EByD65uMgzuSwSf600rWIjK9KlfoF0loLzCb 4Ag3GSV8dSdwq6Xyc6YbBQpKxgt0ZQt5thi5BtNbrwfnhaFupZPCX/kGVGt5soY9 Of/m3B3IilG8wBmNW3wwKmqNwsyhdJNrJo+y9o3M5Z3Uwd7gcMHTBw== =MBrR -----END PGP SIGNATURE-----
Subject: Re: [rt.cpan.org #18216] POD method to cover tests doesn't work with Module::Install
Date: Sun, 31 Dec 2006 02:50:14 +0100
To: "nospam-abuse [...] bloodgate.com via RT" <bug-Devel-Cover [...] rt.cpan.org>
From: Paul Johnson <paul [...] pjcj.net>
Download (untitled) / with headers
text/plain 982b
On Sat, Dec 30, 2006 at 08:04:35PM -0500, nospam-abuse@bloodgate.com via RT wrote: Show quoted text
> * I do *think* the problem stems from the fact that when you do: > > perldoc Foo:Bar > > on a unicode console, you get the mangled "-" characters. > > te@linux:~/perl/release> perldoc bignum > te@linux:~/perl/release> perl ‐Mbignum ‐le ’print ref(2**255)’ > bash: syntax error near unexpected token `(' > > This is either a SuSE specific problem (this occurs under SuSE 9.x as well > as SuSE 10.1) or a KDE konsole problem or some problem of perldoc.
For me, on a unicode enabled xterm under ubuntu, the dashes come out fine, but the single quotes are dodgy, as are yours here too. Show quoted text
> I complained about a similiar problem to perl5-porters a few years ago - but > as far as I can see it never got resolved nor investigated properly, > anyway.
Perhaps time to try again, if you have the time and the inclination? Thanks, -- Paul Johnson - paul@pjcj.net http://www.pjcj.net


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.