1 | $ prove -v t/tools/pmc2cutils/04-dump_pmc.t t/tools/pmc2cutils/05-gen_c.t |
---|
2 | t/tools/pmc2cutils/04-dump_pmc.... |
---|
3 | |
---|
4 | OK: Parrot top directory located |
---|
5 | 1..106 |
---|
6 | ok 1 - use Parrot::Pmc2c::Pmc2cMain; |
---|
7 | ok 2 - use Cwd; |
---|
8 | ok 3 - use File::Temp; |
---|
9 | ok 4 - changed to temp directory for testing |
---|
10 | ok 5 - created src/ under tempdir |
---|
11 | ok 6 - created src/pmc/ under tempdir |
---|
12 | ok 7 - all src/pmc/*.pmc files copied to tempdir |
---|
13 | ok 8 - The object isa Parrot::Pmc2c::Pmc2cMain |
---|
14 | ok 9 - dump_vtable created vtable.dump |
---|
15 | ok 10 - dump_pmc succeeded |
---|
16 | ok 11 - default.dump created as expected |
---|
17 | ok 12 - changed back to original directory |
---|
18 | ok 13 - changed to temp directory for testing |
---|
19 | ok 14 - created src/ under tempdir |
---|
20 | ok 15 - created src/pmc/ under tempdir |
---|
21 | ok 16 - all src/pmc/*.pmc files copied to tempdir |
---|
22 | ok 17 - The object isa Parrot::Pmc2c::Pmc2cMain |
---|
23 | ok 18 - dump_vtable created vtable.dump |
---|
24 | at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Pmc2cMain.pm line 157 |
---|
25 | Parrot::Pmc2c::Pmc2cMain::read_dump('Parrot::Pmc2c::Pmc2cMain=HASH(0x1909e70)', 'default.dump') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Parser.pm line 99 |
---|
26 | Parrot::Pmc2c::Parser::find_attrs('Parrot::Pmc2c::PMC=HASH(0x1999020)', '\x{a}\x{a}/*\x{a}\x{a}=back\x{a}\x{a}=head2 Methods\x{a}\x{a}=over 4\x{a}\x{a}=item C<void class_init...', 103, '/tmp/8kG3KuXRkR/src/pmc/array.pmc', 'Parrot::Pmc2c::Pmc2cMain=HASH(0x1909e70)') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Parser.pm line 79 |
---|
27 | Parrot::Pmc2c::Parser::parse_pmc('Parrot::Pmc2c::Pmc2cMain=HASH(0x1909e70)', '/tmp/8kG3KuXRkR/src/pmc/array.pmc') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Dumper.pm line 40 |
---|
28 | Parrot::Pmc2c::Pmc2cMain::dump_pmc('Parrot::Pmc2c::Pmc2cMain=HASH(0x1909e70)') called at t/tools/pmc2cutils/04-dump_pmc.t line 111 |
---|
29 | cannot find file 'default.dump' in path '.', '/Users/jimk/work/parrot/t/tools/pmc2cutils/../..', '/Users/jimk/work/parrot/t/tools/pmc2cutils/../../src/pmc/', '/tmp/8kG3KuXRkR', '/tmp/8kG3KuXRkR/src/pmc', '/Users/jimk/work/parrot', '/Users/jimk/work/parrot/src/pmc' at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Pmc2cMain.pm line 237. |
---|
30 | # Looks like you planned 106 tests but only ran 18. |
---|
31 | # Looks like your test died just after 18. |
---|
32 | Dubious, test returned 255 (wstat 65280, 0xff00) |
---|
33 | Failed 88/106 subtests |
---|
34 | t/tools/pmc2cutils/05-gen_c....... |
---|
35 | |
---|
36 | OK: Parrot top directory located |
---|
37 | 1..44 |
---|
38 | ok 1 - use Parrot::Pmc2c::Pmc2cMain; |
---|
39 | ok 2 - use Cwd; |
---|
40 | ok 3 - use File::Temp; |
---|
41 | ok 4 - changed to temp directory for testing |
---|
42 | ok 5 - created /tmp/2Qtw4CzkFt/src under tempdir |
---|
43 | ok 6 - created /tmp/2Qtw4CzkFt/src/pmc under tempdir |
---|
44 | ok 7 - all src/pmc/*.pmc files copied to tempdir |
---|
45 | ok 8 - The object isa Parrot::Pmc2c::Pmc2cMain |
---|
46 | ok 9 - dump_vtable created vtable.dump |
---|
47 | ok 10 - dump_pmc succeeded |
---|
48 | ok 11 - default.dump created as expected |
---|
49 | ok 12 - gen_c completed successfully; args: default.pmc |
---|
50 | ok 13 - changed back to original directory |
---|
51 | ok 14 - changed to temp directory for testing |
---|
52 | ok 15 - created src/ under tempdir |
---|
53 | ok 16 - created src/pmc/ under tempdir |
---|
54 | ok 17 - all src/pmc/*.pmc files copied to tempdir |
---|
55 | ok 18 - The object isa Parrot::Pmc2c::Pmc2cMain |
---|
56 | ok 19 - dump_vtable created vtable.dump |
---|
57 | at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Pmc2cMain.pm line 157 |
---|
58 | Parrot::Pmc2c::Pmc2cMain::read_dump('Parrot::Pmc2c::Pmc2cMain=HASH(0x192f120)', 'default.dump') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Parser.pm line 99 |
---|
59 | Parrot::Pmc2c::Parser::find_attrs('Parrot::Pmc2c::PMC=HASH(0x199b270)', '\x{a}\x{a}/*\x{a}\x{a}=back\x{a}\x{a}=head2 Methods\x{a}\x{a}=over 4\x{a}\x{a}=item C<void class_init...', 103, '/tmp/oqDDQbJ1wR/src/pmc/array.pmc', 'Parrot::Pmc2c::Pmc2cMain=HASH(0x192f120)') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Parser.pm line 79 |
---|
60 | Parrot::Pmc2c::Parser::parse_pmc('Parrot::Pmc2c::Pmc2cMain=HASH(0x192f120)', '/tmp/oqDDQbJ1wR/src/pmc/array.pmc') called at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Dumper.pm line 40 |
---|
61 | Parrot::Pmc2c::Pmc2cMain::dump_pmc('Parrot::Pmc2c::Pmc2cMain=HASH(0x192f120)') called at t/tools/pmc2cutils/05-gen_c.t line 117 |
---|
62 | cannot find file 'default.dump' in path '.', '/Users/jimk/work/parrot/t/tools/pmc2cutils/../..', '/Users/jimk/work/parrot/t/tools/pmc2cutils/../../src/pmc/', '/tmp/oqDDQbJ1wR', '/tmp/oqDDQbJ1wR/src/pmc', '/Users/jimk/work/parrot', '/Users/jimk/work/parrot/src/pmc' at /Users/jimk/work/parrot/lib/Parrot/Pmc2c/Pmc2cMain.pm line 237. |
---|
63 | # Looks like you planned 44 tests but only ran 19. |
---|
64 | # Looks like your test died just after 19. |
---|
65 | Dubious, test returned 255 (wstat 65280, 0xff00) |
---|
66 | Failed 25/44 subtests |
---|
67 | |
---|
68 | Test Summary Report |
---|
69 | ------------------- |
---|
70 | t/tools/pmc2cutils/04-dump_pmc (Wstat: 65280 Tests: 18 Failed: 0) |
---|
71 | Non-zero exit status: 255 |
---|
72 | Parse errors: Bad plan. You planned 106 tests but ran 18. |
---|
73 | t/tools/pmc2cutils/05-gen_c (Wstat: 65280 Tests: 19 Failed: 0) |
---|
74 | Non-zero exit status: 255 |
---|
75 | Parse errors: Bad plan. You planned 44 tests but ran 19. |
---|
76 | Files=2, Tests=37, 11 wallclock secs ( 0.09 usr 0.04 sys + 6.09 cusr 1.44 csys = 7.66 CPU) |
---|
77 | Result: FAIL |
---|