2 # Copyright (C) 2006-2007, Parrot Foundation.
11 use Cwd qw(cwd realpath);
12 realpath($Bin) =~ m{^(.*\/parrot)\/[^/]*\/[^/]*\/[^/]*$};
14 if ( defined $topdir ) {
15 print "\nOK: Parrot top directory located\n";
18 $topdir = realpath($Bin) . "/../../..";
20 unshift @INC, qq{$topdir/lib};
22 use Test::More tests => 5;
24 use_ok('Parrot::Pmc2c::PMC');
26 my ( %opt, @include, @args );
29 $self = Parrot::Pmc2c::PMC->new();
31 isa_ok( $self, q{Parrot::Pmc2c::PMC} );
33 can_ok( 'Parrot::Pmc2c::PMC', q{inherit_attrs} );
35 #can_ok( 'Parrot::Pmc2c::PMC', q{gen_parent_lookup_info} );
36 #can_ok( 'Parrot::Pmc2c::PMC', q{gen_parent_reverse_lookup_info} );
37 can_ok( 'Parrot::Pmc2c::PMC', q{dump_is_current} );
39 pass("Completed all tests in $0");
41 ################### DOCUMENTATION ###################
45 08-pmc-pm.t - test Parrot::Pmc2c::Pmc basic functionality
49 % prove t/tools/pmc2cutils/08-pmc-pm.t
61 # cperl-indent-level: 4
64 # vim: expandtab shiftwidth=4: