Ticket #1550: t_op_lexicals_t_failure.txt

File t_op_lexicals_t_failure.txt, 4.4 KB (added by jkeenan, 5 years ago)

t/op/lexicals.t: Failures observed at r45635, Linux/i386

Line 
1
2#   Failed test 'api parsing'
3#   at t/op/lexicals.t line 114.
4# Exited with error code: 1
5# Received:
6# Lexical 'a' not found
7# current instr.: 'main' pc 3 (/home/jimk/work/parrot/t/op/lexicals_8.pir:5)
8#
9# Expected:
10# ok
11# ok
12#
13
14#   Failed test 'closure 8'
15#   at t/op/lexicals.t line 826.
16#                   'Lexical '$x' not found
17# current instr.: 'anon_1' pc 18 (/home/jimk/work/parrot/t/op/lexicals_32.pir:17)
18# called from Sub 'main' pc 11 (/home/jimk/work/parrot/t/op/lexicals_32.pir:11)
19# '
20#     doesn't match '/Null PMC access/
21# '
22# './parrot   "/home/jimk/work/parrot/t/op/lexicals_32.pir"' failed with exit code 1
23
24#   Failed test 'package-scoped closure 4 - autoclose'
25#   at t/op/lexicals.t line 1019.
26#                   'Lexical '$x' not found
27# current instr.: '&g' pc 6 (/home/jimk/work/parrot/t/op/lexicals_39.pir:13)
28# called from Sub '&main' pc 19 (/home/jimk/work/parrot/t/op/lexicals_39.pir:17)
29# '
30#     doesn't match '/Null PMC access/
31# '
32# './parrot   "/home/jimk/work/parrot/t/op/lexicals_39.pir"' failed with exit code 1
33# Looks like you failed 3 tests of 58.
34t/op/lexicals.t ..
351..58
36ok 1 - .lex parsing - PASM ('$a') succeeds
37ok 2 - .lex parsing - PIR
38ok 3 - .lex parsing - PIR, $P
39ok 4 - .lex parsing - PIR, local var
40ok 5 - .lex - same PMC twice (PASM)
41ok 6 - .lex - same PMC twice fails (.local pmc ab)
42ok 7 - .lex - same lex twice
43not ok 8 - api parsing
44ok 9 - get_lexinfo
45ok 10 - get_lexinfo - no lexicals
46ok 11 - get_lexpad - no pad
47ok 12 - get_lexpad - no pad inherited in coro
48ok 13 - get_lexpad - set var via pad
49ok 14 - get_lexpad - set two vars via pad (2 lex -> 2 pmc)
50ok 15 - synopsis example
51ok 16 - :lex parsing - PASM
52ok 17 - :lex parsing - PIR
53ok 18 - :outer parsing - PASM
54ok 19 - :outer parsing - PIR
55ok 20 - :outer parsing - ident
56ok 21 - :outer parsing - missing :outer
57ok 22 - get_lexinfo from pad
58ok 23 - :lex parsing - verify info and pad
59ok 24 - get_outer
60ok 25 - get_outer 2
61ok 26 - get_outer via interp
62ok 27 - closure 3
63ok 28 - closure 4
64ok 29 - closure 5
65ok 30 - closure 6
66ok 31 - closure 7 - evaled
67not ok 32 - closure 8
68ok 33 - get non existing
69ok 34 - find_name on lexicals
70ok 35 - multiple names
71ok 36 - package-scoped closure 1
72ok 37 - package-scoped closure 2
73ok 38 - package-scoped closure 3 - autoclose
74not ok 39 - package-scoped closure 4 - autoclose
75ok 40 - package-scoped closure 5 - autoclose
76ok 41 - package-scoped closure 6 - autoclose
77not ok 42 - find_lex: (Perl6 OUTER::) # TODO not yet implemented
78#   Failed (TODO) test 'find_lex: (Perl6 OUTER::)'
79#   at t/op/lexicals.t line 1097.
80# Exited with error code: 2
81# Received:
82# error:imcc:syntax error, unexpected INTC ('42')
83#       in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 2
84# error:imcc:syntax error, unexpected INTC ('13')
85#       in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 7
86# error:imcc:The opcode 'find_lex_p_sc_ic' (find_lex<3>) was not found. Check the type and number of the arguments
87#       in file '/home/jimk/work/parrot/t/op/lexicals_42.pir' line 9
88#
89# Expected:
90# 42
91#
92ok 43 - nested scopes
93ok 44 - Double-inner scope called from closure
94ok 45 - Patrick's request
95ok 46 - Bob's recursion bug
96ok 47 - Jonathan's recursive case
97ok 48 - TT \#536: lexical sub lookup
98ok 49 - find_dynamic_lex basic
99ok 50 - find_dynamic_lex doesn't search outer
100ok 51 - find_dynamic_lex two levels deep
101ok 52 - .lex should not accept $S\#
102ok 53 - .lex should not accept $I\#
103ok 54 - .lex should not accept $N\#
104ok 55 - store_lex should not accept $S\#
105ok 56 - store_lex should not accept $I\#
106ok 57 - store_lex should not accept $N\#
107not ok 58 - don't lost lexical when cloning # TODO see TT#1550
108
109#   Failed (TODO) test 'don't lost lexical when cloning'
110#   at t/op/lexicals.t line 1615.
111#          got: 'func
112# Lexical 'VAR' not found
113# current instr.: 'inner' pc 32 (/home/jimk/work/parrot/t/op/lexicals_58.pir:16)
114# called from Sub 'func' pc 25 (/home/jimk/work/parrot/t/op/lexicals_58.pir:11)
115# called from Sub 'main' pc 8 (/home/jimk/work/parrot/t/op/lexicals_58.pir:4)
116# '
117#     expected: 'func
118# STATE
119# '
120# './parrot   "/home/jimk/work/parrot/t/op/lexicals_58.pir"' failed with exit code 1
121Dubious, test returned 3 (wstat 768, 0x300)
122Failed 3/58 subtests
123
124Test Summary Report
125-------------------
126t/op/lexicals.t (Wstat: 768 Tests: 58 Failed: 3)
127  Failed tests:  8, 32, 39
128  Non-zero exit status: 3
129Files=1, Tests=58,  2 wallclock secs ( 0.07 usr  0.00 sys +  0.41 cusr  0.41 csys =  0.89 CPU)
130Result: FAIL