List Info

Thread: Bug in 5.10.0 with constants: was: Re: FAIL Graph-Easy-0.57 i686-linux-64int 2.6.22-1-k7




Bug in 5.10.0 with constants: was: Re: FAIL Graph-Easy-0.57 i686-linux-64int 2.6.22-1-k7
user name
2007-09-07 08:50:59
MOIN,

ON FRIDAY 07 SEPTEMBER 2007 07:54:37 
ANDREAS.KOENIG.GMWOJPRWFRANZ.AK.MIND.DE WROTE:
> THIS DISTRIBUTION HAS BEEN TESTED AS PART OF THE
CPAN-TESTERS
> EFFORT TO TEST AS MANY NEW UPLOADS TO CPAN AS POSSIBLE.
 SEE
> HTTP://TESTERS.CPAN.ORG/
> T/POD_COV.......
> #   FAILED TEST 'GRAPH::EASY IS COVERED'
> #   AT T/POD_COV.T LINE 41.
> # COVERAGE FOR GRAPH::EASY IS 94.1%, WITH 6 NAKED
SUBROUTINES:
> # 	EDGE_CROSS
> # 	EDGE_HOLE
> # 	EDGE_HOR
> # 	EDGE_NO_M_MASK
> # 	EDGE_TYPE_MASK
> # 	EDGE_VER
>
> #   FAILED TEST 'POD COVERAGE ON GRAPH::EASY'
> #   AT T/POD_COV.T LINE 70.
> # COVERAGE FOR GRAPH::EASY IS 94.1%, WITH 6 NAKED
SUBROUTINES:
> # 	EDGE_CROSS
> # 	EDGE_HOLE
> # 	EDGE_HOR
> # 	EDGE_NO_M_MASK
> # 	EDGE_TYPE_MASK
> # 	EDGE_VER
> # LOOKS LIKE YOU FAILED 2 TESTS OF 21.
> DUBIOUS
> 	TEST RETURNED STATUS 2 (WSTAT 512, 0X200)
> DIED. FAILED TESTS 1, 18
> 	FAILED 2/21 TESTS, 90.48% OKAY

THIS PROBLEM IS CAUSED BY POD::COVERAGE NOT RECOGNIZING THAT
THE CONSTANTS 
THAT ARE EXPORTED BY ONE MODULE (GRAPH::EASY::EDGE) AND
IMPORTED INTO 
ANOTHER MODULE (GRAPH::EASY) ARE IN FACT, IMPORTED, AND NOT
ACTUALLY 
DEFINED IN GRAPH::EASY.

SINCE I THOUGHT THIS BUG HAS BEEN RESOLVED IN BLEAD LONG
TIME AGO, I AM 
CC:ING P5P SO THIS CAN BE FIXED BEFORE THE RELEASE.

(NO, THIS IS NOT A BUG IN MY MODULE, AND NO, WORKING AROUND
THAT PROBLEM BY 
BRUSHING THE CONSTANT SUBROUTINES UNDER THE PROVERBIAL
TESTING RUG BY 
MANUALLY EXCLUDING THEM IS NOT ACCEPTABLE).

ALL THE BEST,

TELS

-- 
 SIGNED ON FRI SEP  7 15:48:01 2007 WITH KEY 0X93B84C15.
 VIEW MY PHOTO GALLERY: HTTP://BLOODGATE.COM/PHOTOS
 PGP KEY ON HTTP://BLOODGATE.COM/TELS.ASC OR PER EMAIL.

 "TIME FLIES LIKE AN ARROW; FRUIT FLIES LIKE A
BANANA."

  -- GROUCHO MARX
Re: Bug in 5.10.0 with constants: was: Re: FAIL Graph-Easy-0.57 i686-linux-64int 2.6.22-1-k7
user name
2007-09-07 11:21:39
On Fri, September 7, 2007 6:50 am, Tels wrote:
> On Friday 07 September 2007 07:54:37
> andreas.koenig.gmwojprwfranz.ak.mind.de wrote:
>> This distribution has been tested as part of the
cpan-testers
>> effort to test as many new uploads to CPAN as
possible.  See
>> http://testers.cpan.org/

>> t/pod_cov....... #   Failed test 'Graph::Easy is
covered'
>> #   at t/pod_cov.t line 41.
>> # Coverage for Graph::Easy is 94.1%, with 6 naked
subroutines:
>> # 	EDGE_CROSS
>> # 	EDGE_HOLE
>> # 	EDGE_HOR
>> # 	EDGE_NO_M_MASK
>> # 	EDGE_TYPE_MASK
>> # 	EDGE_VER
>>
>>
>> #   Failed test 'Pod coverage on Graph::Easy'
>> #   at t/pod_cov.t line 70.
>> # Coverage for Graph::Easy is 94.1%, with 6 naked
subroutines:
>> # 	EDGE_CROSS
>> # 	EDGE_HOLE
>> # 	EDGE_HOR
>> # 	EDGE_NO_M_MASK
>> # 	EDGE_TYPE_MASK
>> # 	EDGE_VER
>> # Looks like you failed 2 tests of 21.
>> dubious Test returned status 2 (wstat 512, 0x200)
>> DIED. FAILED tests 1, 18
>> Failed 2/21 tests, 90.48% okay
>>
>
> This problem is caused by Pod::Coverage not recognizing
that the
> constants that are exported by one module
(Graph::Easy::Edge) and imported
> into another module (Graph::Easy) are in fact,
imported, and not actually
> defined in Graph::Easy.
>
> Since I thought this bug has been resolved in blead
long time ago, I am
> Cc:ing p5p so this can be fixed before the release.

Can you describe the problem in a way that doesn't involve
figuring out
what Graph::Easy/Grapy::Easy::Edge are doing?  A quick look
at the source
for the latter shows no exports, so I'm not sure what's
going on.

> (No, this is not a bug in my module, and no, working
around that problem
> by brushing the constant subroutines under the
proverbial testing rug by
> manually excluding them is not acceptable).

Does "my module" mean Graph::Easy?  A
self-contained testcase would be
very helpful.


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )