pmc_headers_move branch

James E Keenan jkeen at verizon.net
Sat Nov 7 13:02:10 UTC 2009


Vasily Chekalkin wrote:
> Hello.
>

>
> I would like to hear any pros/cons for this branch. And additional
> testing of course. If there is no "black flag" raised I'll merge it back
> to trunk in few days.
>

You will need to make adjustments in one of the build_tools tests:

$ prove -v t/tools/pmc2cutils/05-gen_c.t
t/tools/pmc2cutils/05-gen_c.t ..
1..44
ok 1 - use Parrot::Pmc2c::Pmc2cMain;
ok 2 - use Cwd;
ok 3 - use File::Temp;
ok 4 - changed to temp directory for testing
ok 5 - created /tmp/XGxXrvO9hY/src under tempdir
ok 6 - created /tmp/XGxXrvO9hY/src/pmc under tempdir
ok 7 - all src/pmc/*.pmc files copied to tempdir
ok 8 - The object isa Parrot::Pmc2c::Pmc2cMain
ok 9 - dump_vtable created vtable.dump
ok 10 - dump_pmc succeeded
ok 11 - default.dump created as expected
Can't open(GLOB(0x857a070), >, include/pmc/pmc_default.h): No such file 
or directory at 
/topdir/work/pmc_headers_move/t/tools/pmc2cutils/../../../lib/Parrot/Pmc2c/Emitter.pm 
line 167
cannot remove path when cwd is /tmp/XGxXrvO9hY for /tmp/XGxXrvO9hY:  at 
/usr/local/lib/perl5/5.10.1/File/Temp.pm line 902
# Looks like you planned 44 tests but ran 11.
# Looks like your test exited with 2 just after 11.
Dubious, test returned 2 (wstat 512, 0x200)
Failed 33/44 subtests

Test Summary Report
-------------------
t/tools/pmc2cutils/05-gen_c.t (Wstat: 512 Tests: 11 Failed: 0)
   Non-zero exit status: 2
   Parse errors: Bad plan.  You planned 44 tests but ran 11.
Files=1, Tests=11,  0 wallclock secs ( 0.02 usr  0.00 sys +  0.48 cusr 
0.01 csys =  0.51 CPU)
Result: FAIL



More information about the parrot-dev mailing list