#543: t/codingstd/copyright.t failing
--------------------+-------------------------------------------------------
Reporter: coke | Owner: cotto
Type: bug | Status: new
Priority: normal | Milestone:
Component: none | Version: trunk
Severity: low | Keywords:
Lang: | Patch:
Platform: |
--------------------+-------------------------------------------------------
Comment(by jkeenan):
Replying to [ticket:543 coke]:
> in r37939, cotto untodo'd a test. if I svn up to that revision and run
the test, I see the following output:
>
{{{
> $ prove t/codingstd/copyright.t
> [08:35:58] t/codingstd/copyright.t .. 1/3
> # Failed test 'Duplicate Copyright statements'
> # at t/codingstd/copyright.t line 112.
> # Duplicate copyright statement found in 12 files:
> # /Users/coke/research/parrot/compilers/imcc/main.c
> # /Users/coke/research/parrot/compilers/imcc/parser_util.c
> # /Users/coke/research/parrot/examples/c/test_main.c
> # /Users/coke/research/parrot/compilers/imcc/imcc.y
> # /Users/coke/research/parrot/compilers/imcc/imcc.l
> # /Users/coke/research/parrot/Configure.pl
> # /Users/coke/research/parrot/config/gen/opengl.pm
> # /Users/coke/research/parrot/lib/Parrot/Configure/Messages.pm
> # /Users/coke/research/parrot/lib/Parrot/Op.pm
> # /Users/coke/research/parrot/t/tools/dev/searchops/samples.pm
> # /Users/coke/research/parrot/tools/build/nativecall.pl
> # /Users/coke/research/parrot/tools/build/vtable_extend.pl
}}}
In r38144, I revised ''t/codingstd/copyright.t'' to account for files
where the string `Copyright` appears as part of, e.g., heredocs, usage
statements, etc. This reduces the number of files truly failing this test
to four -- the four 'Melvin Smith' files (known issue).
But if I run the test with the ''prove'' that comes with Perl 5.8 rather
than 5.10, I get the same weird results reported by cotto in the preceding
comment.
Thank you very much.[[BR]]
kid51
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/543#comment:2>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets