#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 cotto):
This appears to be a Perl 5.8 vs 5.10 issue. The last test fails with
5.10.0 and (incorrectly) works with 5.8.8. Removing the ending $ from
$copyright_parrot makes the test fail with both Perls, but there may be a
reason why this isn't desirable.
Perl 5.8.8 is from Ubuntu Hardy and 5.10.0 was build from source.
{{{
co...@feather:/usr/src/parrot/parrot-svn-committable\ 1 $ perl5.10.0
t/codingstd/copyright.t tools/build/vtable_extend.pl
1..3
ok 1 - Copyright statement exists
ok 2 - Copyright statement in the right format # TODO Waiting for full
transition to Parrot Foundation
not ok 3 - Duplicate Copyright statements
# Failed test 'Duplicate Copyright statements'
# at t/codingstd/copyright.t line 112.
# Duplicate copyright statement found in 1 files:
# tools/build/vtable_extend.pl
# Please get copyright assigned to Parrot Foundation
# and remove alternate notice; Or remove duplicated
# notice for Parrot Foundation.
# Looks like you failed 1 test of 3.
co...@feather:/usr/src/parrot/parrot-svn-committable\ 1 $ perl5.8.8
t/codingstd/copyright.t tools/build/vtable_extend.pl
1..3
ok 1 - Copyright statement exists
not ok 2 - Copyright statement in the right format # TODO Waiting for full
transition to Parrot Foundation
# Failed (TODO) test 'Copyright statement in the right format'
# at t/codingstd/copyright.t line 100.
# Bad format in copyright statement found in 1 files:
# tools/build/vtable_extend.pl
# Please update to read something like:
# Copyright (C) C<start-year>-C<last-year-modified>, Parrot Foundation.
# To find the C<start-year>, use a command such as:
# svn log C<filename> | grep 'lines' | tail -n 1
# To find the C<last-year-modified>, use a command such as:
# svn log C<filename> | grep 'lines' | head -n 1
ok 3 - Duplicate Copyright statements
}}}
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/543#comment:1>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets