Ticket #1750: t.pmc.packfile.failures.txt

File t.pmc.packfile.failures.txt, 8.7 KB (added by jkeenan, 4 years ago)
Line 
1[parrot] 511 $  prove -v t/pmc/packfile*.t
2t/pmc/packfile.t ...............
31..42
4ok 1 - new
5ok 2 - Wordsize set
6ok 3 - version_major set
7ok 4 - bytecode_major set
8ok 5 - set_string_native with invalid data throws
9ok 6 - get_string(uuid)
10ok 7 - get_string_keyed_int handle unknown key properly
11ok 8 - set_string(uuid)
12ok 9 - Length is 1
13ok 10 - Fetched length is 1
14ok 11 - set_string_keyed_int handle unknown key properly
15not ok 12 - get_integer_keyed_str(wordsize) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
16not ok 13 - get_integer_keyed_str(byteorder) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
17not ok 14 - get_integer_keyed_str(fptype) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
18not ok 15 - get_integer_keyed_str(version_major) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
19not ok 16 - get_integer_keyed_str(version_minor) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
20not ok 17 - get_integer_keyed_str(version_patch) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
21not ok 18 - get_integer_keyed_str(bytecode_major) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
22not ok 19 - get_integer_keyed_str(bytecode_minor) - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
23not ok 20 - get_integer_keyed_str unknown key - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
24not ok 21 - set_integer_keyed_str version bumped - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
25ok 22 - The object isa PackfileDirectory
26not ok 23 - Wordsize set - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
27not ok 24 - version_major set - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
28not ok 25 - bytecode_major set - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
29ok 26 - PackFile packed
30ok 27 - PackFile unpacked after pack
31ok 28 - uuid_type preserved
32ok 29 - FixupTable contains one element
33ok 30 - The object isa PackfileFixupEntry
34ok 31 - FixupEntry offset preserved
35ok 32 - FixupEntry name preserved
36ok 33 - ConstantTable unpacked
37ok 34 -     and contains 4 elements
38ok 35 -     first is number
39ok 36 -     second is string
40ok 37 - The object isa Integer
41ok 38 -     with proper value
42ok 39 - The object isa Key
43not ok 40 - pack produced same result twice - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
44ok 41 #skip test_synonyms crash on many platforms. See TT #545
45ok 42 #skip test_synonyms crash on many platforms. See TT #545
46PackFile_unpack: This is not a valid Parrot bytecode file
47Failed 14/42 subtests
48        (less 2 skipped subtests: 26 okay)
49t/pmc/packfileannotation.t .....
501..5
51ok 1 - PackfileAnnotation created
52ok 2 - Name stored and fetched
53ok 3 - Offset stored and fetched
54ok 4 - Value stored and fetched
55ok 5 - Can't fetch wrong value from Annotation
56ok
57t/pmc/packfileannotations.t ....
581..17
59ok 1 - PackfileAnnotations created
60not ok 2 - PackfileAnnotations unpack failed to load test file - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/annotations.pbc'
61ok 3 #skip PackfileAnnotations unpack tests failed
62ok 4 #skip PackfileAnnotations unpack tests failed
63ok 5 #skip PackfileAnnotations unpack tests failed
64ok 6 #skip PackfileAnnotations unpack tests failed
65ok 7 #skip PackfileAnnotations unpack tests failed
66ok 8 #skip PackfileAnnotations unpack tests failed
67ok 9 #skip PackfileAnnotations unpack tests failed
68ok 10 - PackfileAnnotations unpacked
69ok 11 - Annotations were unpack correctly
70ok 12 - First annotation's name unpacked
71ok 13 - First annotation's value is correct
72ok 14 - Second annotation's name unpacked
73ok 15 - Second annotation's value is correct
74ok 16 - Third annotation is correct
75ok 17 - Forth annotation is correct
76Failed 1/17 subtests
77        (less 7 skipped subtests: 9 okay)
78t/pmc/packfileconstanttable.t ..
791..16
80not ok 1 - PackfileConstantTable - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
81not ok 2 - PackfileConstantTable.elements returns non-zero - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
82not ok 3 - PackfileConstantTable.get_*_int works - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
83ok 4 - Empty PackfileConstantTable created
84ok 5 - String element added
85ok 6 - Number elements added
86ok 7 - PMC elements added
87ok 8 - First element is string
88ok 9 - Second element is number
89ok 10 - Third element is PMC
90ok 11 - get_or_create_constant returs same string value for same key
91ok 12 - get_or_create_constant returs different string values for different keys
92ok 13 - get_or_create_constant returs same number value for same key
93ok 14 - get_or_create_constant returs different number values for different keys
94ok 15 - get_or_create_constant returns same index for equal PMCs
95ok 16 - get_or_create_constant returns different index for different PMCs
96Failed 3/16 subtests
97t/pmc/packfiledirectory.t ......
981..20
99ok 1 - The object isa PackfileDirectory
100ok 2 - Owner of fresh segment unknown
101ok 3 - Owner of segment set correctly
102ok 4 - PackfileDirectory.get_directory isa PackfileDirectory
103not ok 5 - PackfileDirectory.elements - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
104not ok 6 - can't run get_iter tests - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
105ok 7 #skip can't run get_iter tests
106ok 8 #skip can't run get_iter tests
107ok 9 #skip can't run get_iter tests
108ok 10 #skip can't run get_iter tests
109ok 11 #skip can't run get_iter tests
110ok 12 #skip can't run get_iter tests
111ok 13 #skip can't run get_iter tests
112ok 14 #skip can't run get_iter tests
113ok 15 #skip can't run get_iter tests
114ok 16 #skip can't run get_iter tests
115ok 17 #skip can't run get_iter tests
116not ok 18 - Segment with old name was added - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
117not ok 19 - New segment added - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
118not ok 20 - segment deleted - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
119Failed 5/20 subtests
120        (less 11 skipped subtests: 4 okay)
121t/pmc/packfilefixupentry.t .....
1221..3
123not ok 1 - PackfileFixupTable - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
124not ok 2 - PackfileFixupEntry - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
125not ok 3 - Got entries - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
126Failed 3/3 subtests
127t/pmc/packfilefixuptable.t .....
1281..3
129not ok 1 - All elements of Table are Entries - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
130ok 2 #skip All elements of Table are Entries
131ok 3 #skip All elements of Table are Entries
132Failed 1/3 subtests
133        (less 2 skipped subtests: 0 okay)
134t/pmc/packfilerawsegment.t .....
1351..7
136not ok 1 - PackfileRawSegment contains some data - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
137not ok 2 - PackfileRawSegment.get_integer_keyed_int returns some data - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
138ok 3 - PackfileRawSegment.push_integer (1)
139ok 4 - PackfileRawSegment.push_integer (2)
140not ok 5 - can't run test_type tests - error loading packfile: Unable to open filehandle from path 't/pmc/testlib/number.pbc'
141ok 6 #skip can't run test_type tests
142ok 7 #skip can't run test_type tests
143Failed 3/7 subtests
144        (less 2 skipped subtests: 2 okay)
145t/pmc/packfilesegment.t ........
1461..1
147ok 1 - The object isa PackfileSegment
148ok
149
150Test Summary Report
151-------------------
152t/pmc/packfile.t             (Wstat: 0 Tests: 42 Failed: 14)
153  Failed tests:  12-21, 23-25, 40
154t/pmc/packfileannotations.t  (Wstat: 0 Tests: 17 Failed: 1)
155  Failed test:  2
156t/pmc/packfileconstanttable.t (Wstat: 0 Tests: 16 Failed: 3)
157  Failed tests:  1-3
158t/pmc/packfiledirectory.t    (Wstat: 0 Tests: 20 Failed: 5)
159  Failed tests:  5-6, 18-20
160t/pmc/packfilefixupentry.t   (Wstat: 0 Tests: 3 Failed: 3)
161  Failed tests:  1-3
162t/pmc/packfilefixuptable.t   (Wstat: 0 Tests: 3 Failed: 1)
163  Failed test:  1
164t/pmc/packfilerawsegment.t   (Wstat: 0 Tests: 7 Failed: 3)
165  Failed tests:  1-2, 5
166Files=9, Tests=114,  3 wallclock secs ( 0.30 usr  0.12 sys +  0.53 cusr  0.38 csys =  1.33 CPU)
167Result: FAIL