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


Failures observed on:  Linux:  Debian-stable.
At revision 26137.

[li11-226:parrot] 507 $ prove -v t/compilers/imcc/syn/errors.t 
t/compilers/imcc/syn/macro.t
t/compilers/imcc/syn/errors......
1..5
ok 1 - op not found.
ok 2 - check parser recovery 1.
ok 3 - check parser recovery patience.
ok 4 - SomethingFunny isnt pmc
not ok 5 - Array isnt pmc

#   Failed test 'Array isnt pmc'
#   at lib/Parrot/Test.pm line 713.
# Expected error but exited cleanly
# Received:
# hello
#
# Expected:
# /^error:imcc:Unknown PMC type 'Array'/
#
# Looks like you failed 1 test of 5.
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/5 subtests
t/compilers/imcc/syn/macro.......
1..34
ok 1 - macro, zero parameters
ok 2 - macro, one unused parameter, literal term
ok 3 - macro, one unused parameter, register term
ok 4 - macro, one used parameter, literal
ok 5 - macro, one used parameter, register
ok 6 - macro, one used parameter, called twice
ok 7 - macro, one used parameter, label
ok 8 - macro, one used parameter run thrice, label
ok 9 - constant defined and used
ok 10 - constant defined and used
ok 11 - constant defined, used in a macro call
ok 12 - basic include macro
ok 13 - include a file defining a macro
ok 14 - .newid
ok 15 - .newlex
ok 16 - too few params
ok 17 - too many params
ok 18 - ok param count
ok 19 - macro name is no ident
ok 20 - unterminated macro
ok 21 - unterminated macro 2
ok 22 - ill param def
ok 23 - no params
ok 24 - unknown macro
ok 25 - unexpected IDENTIFIER
ok 26 - unknown macro
ok 27 - braces in param
ok 28 - braces and comma, with a newline in param
ok 29 - braces and parenthesis in param
ok 30 - test that macros labels names can have the prefix $
ok 31 - test that macros labels names can have the prefix $
not ok 32 - invalid label syntax (RT\#47978, RT\#51104)

#   Failed test 'invalid label syntax (RT\#47978, RT\#51104)'
#   at t/compilers/imcc/syn/macro.t line 438.
#                   'compilers/imcc/imcc.l:994: failed assertion 'valp->s'
# Backtrace - Obtained 11 stack frames (max trace depth is 32).
#   (unknown)
#     Parrot_confess
#       Parrot_assert
#         (unknown)
#           yylex
#             yyparse
#               (unknown)
#                 imcc_run
#                   (unknown)
#                     __libc_start_main
#                       (unknown)
# '
#     doesn't match '/syntax error, unexpected LABEL/
# '
# './parrot   "/home/jimk/work/parrot/t/compilers/imcc/syn/macro_32.pir"' 
failed with exit code [SIGNAL 6]
ok 33 - call a sub in a macro
ok 34 - set a sub as an attribute, in a macro
# Looks like you failed 1 test of 34.
 Dubious, test returned 1 (wstat 256, 0x100)
 Failed 1/34 subtests

Test Summary Report
-------------------
t/compilers/imcc/syn/errors.t (Wstat: 256 Tests: 5 Failed: 1)
  Failed test:  5
  Non-zero exit status: 1
t/compilers/imcc/syn/macro.t (Wstat: 256 Tests: 34 Failed: 1)
  Failed test:  32
  Non-zero exit status: 1
Files=2, Tests=39,  4 wallclock secs ( 0.01 usr  0.00 sys +  0.48 cusr  0.11 
csys =  0.60 CPU)
Result: FAIL

Reply via email to