# New Ticket Created by  James Keenan 
# Please include the string:  [perl #45387]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=45387 >


I've been getting these errors:

[parrot] 504 $ prove -v t/codingstd/c_header_guards.t
t/codingstd/c_header_guards....1..5

#     Failed test (t/codingstd/c_header_guards.t at line 129)
# missing guard:
# /Users/jimk/work/parrot/languages/lua/pmc/lua_private.h

#     Failed test (t/codingstd/c_header_guards.t at line 133)
# missing define:
# /Users/jimk/work/parrot/languages/lua/pmc/lua_private.h

#     Failed test (t/codingstd/c_header_guards.t at line 137)
# missing endif comment:
# /Users/jimk/work/parrot/languages/lua/pmc/lua_private.h
# Looks like you failed 3 tests of 5.
ok 1 - identical PARROT_*_GUARD macro names used in headers
ok 2 - multiple PARROT_*_GUARD macros found in headers
not ok 3 - missing or misspelled PARROT_*_GUARD ifndef in headers
not ok 4 - missing or misspelled PARROT_*_GUARD define in headers
not ok 5 - missing or misspelled PARROT_*_GUARD comment after the  
endif in headers
dubious
         Test returned status 3 (wstat 768, 0x300)
DIED. FAILED tests 3-5
         Failed 3/5 tests, 40.00% okay
Failed Test                   Stat Wstat Total Fail  List of Failed
------------------------------------------------------------------------ 
-------
t/codingstd/c_header_guards.t    3   768     5    3  3-5
Failed 1/1 test scripts. 3/5 subtests failed.
Files=1, Tests=5,  8 wallclock secs ( 0.93 cusr +  0.32 csys =  1.25  
CPU)
Failed 1/1 test programs. 3/5 subtests failed.


I tried to fix them but failed.  I probably don't understand the  
PARROT_*_GUARD macros.  This test file appears to have no 'ifndef'  
headers; that may be part of the problem.

kid51

Reply via email to