# Failed test 'api parsing' # at t/op/lexicals.t line 114. # Exited with error code: 1 # Received: # Lexical 'a' not found # current instr.: 'main' pc 3 (/home/jimk/work/parrot/t/op/lexicals_8.pir:5) # # Expected: # ok # ok # # Failed test 'closure 8' # at t/op/lexicals.t line 826. # 'Lexical '$x' not found # current instr.: 'anon_1' pc 18 (/home/jimk/work/parrot/t/op/lexicals_32.pir:17) # called from Sub 'main' pc 11 (/home/jimk/work/parrot/t/op/lexicals_32.pir:11) # ' # doesn't match '/Null PMC access/ # ' # './parrot "/home/jimk/work/parrot/t/op/lexicals_32.pir"' failed with exit code 1 # Failed test 'package-scoped closure 4 - autoclose' # at t/op/lexicals.t line 1019. # 'Lexical '$x' not found # current instr.: '&g' pc 6 (/home/jimk/work/parrot/t/op/lexicals_39.pir:13) # called from Sub '&main' pc 19 (/home/jimk/work/parrot/t/op/lexicals_39.pir:17) # ' # doesn't match '/Null PMC access/ # ' # './parrot "/home/jimk/work/parrot/t/op/lexicals_39.pir"' failed with exit code 1 # Looks like you failed 3 tests of 58. t/op/lexicals.t .. 1..58 ok 1 - .lex parsing - PASM ('$a') succeeds ok 2 - .lex parsing - PIR ok 3 - .lex parsing - PIR, $P ok 4 - .lex parsing - PIR, local var ok 5 - .lex - same PMC twice (PASM) ok 6 - .lex - same PMC twice fails (.local pmc ab) ok 7 - .lex - same lex twice not ok 8 - api parsing ok 9 - get_lexinfo ok 10 - get_lexinfo - no lexicals ok 11 - get_lexpad - no pad ok 12 - get_lexpad - no pad inherited in coro ok 13 - get_lexpad - set var via pad ok 14 - get_lexpad - set two vars via pad (2 lex -> 2 pmc) ok 15 - synopsis example ok 16 - :lex parsing - PASM ok 17 - :lex parsing - PIR ok 18 - :outer parsing - PASM ok 19 - :outer parsing - PIR ok 20 - :outer parsing - ident ok 21 - :outer parsing - missing :outer ok 22 - get_lexinfo from pad ok 23 - :lex parsing - verify info and pad ok 24 - get_outer ok 25 - get_outer 2 ok 26 - get_outer via interp ok 27 - closure 3 ok 28 - closure 4 ok 29 - closure 5 ok 30 - closure 6 ok 31 - closure 7 - evaled not ok 32 - closure 8 ok 33 - get non existing ok 34 - find_name on lexicals ok 35 - multiple names ok 36 - package-scoped closure 1 ok 37 - package-scoped closure 2 ok 38 - package-scoped closure 3 - autoclose not ok 39 - package-scoped closure 4 - autoclose ok 40 - package-scoped closure 5 - autoclose ok 41 - package-scoped closure 6 - autoclose not ok 42 - find_lex: (Perl6 OUTER::) # TODO not yet implemented # Failed (TODO) test 'find_lex: (Perl6 OUTER::)' # at t/op/lexicals.t line 1097. # Exited with error code: 2 # Received: # error:imcc:syntax error, unexpected INTC ('42') # in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 2 # error:imcc:syntax error, unexpected INTC ('13') # in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 7 # error:imcc:The opcode 'find_lex_p_sc_ic' (find_lex<3>) was not found. Check the type and number of the arguments # in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 9 # # Expected: # 42 # ok 43 - nested scopes ok 44 - Double-inner scope called from closure ok 45 - Patrick's request ok 46 - Bob's recursion bug ok 47 - Jonathan's recursive case ok 48 - TT \#536: lexical sub lookup ok 49 - find_dynamic_lex basic ok 50 - find_dynamic_lex doesn't search outer ok 51 - find_dynamic_lex two levels deep ok 52 - .lex should not accept $S\# ok 53 - .lex should not accept $I\# ok 54 - .lex should not accept $N\# ok 55 - store_lex should not accept $S\# ok 56 - store_lex should not accept $I\# ok 57 - store_lex should not accept $N\# not ok 58 - don't lost lexical when cloning # TODO see TT#1550 # Failed (TODO) test 'don't lost lexical when cloning' # at t/op/lexicals.t line 1615. # got: 'func # Lexical 'VAR' not found # current instr.: 'inner' pc 32 (/home/jimk/work/parrot/t/op/lexicals_58.pir:16) # called from Sub 'func' pc 25 (/home/jimk/work/parrot/t/op/lexicals_58.pir:11) # called from Sub 'main' pc 8 (/home/jimk/work/parrot/t/op/lexicals_58.pir:4) # ' # expected: 'func # STATE # ' # './parrot "/home/jimk/work/parrot/t/op/lexicals_58.pir"' failed with exit code 1 Dubious, test returned 3 (wstat 768, 0x300) Failed 3/58 subtests Test Summary Report ------------------- t/op/lexicals.t (Wstat: 768 Tests: 58 Failed: 3) Failed tests: 8, 32, 39 Non-zero exit status: 3 Files=1, Tests=58, 2 wallclock secs ( 0.07 usr 0.00 sys + 0.41 cusr 0.41 csys = 0.89 CPU) Result: FAIL