diff --git t/tools/dev/headerizer/02_methods.t t/tools/dev/headerizer/02_methods.t
index d253b0b..93d0566 100644
|
|
|
12 | 12 | use File::Temp qw( tempdir ); |
13 | 13 | use Test::More qw(no_plan); # tests => 46; |
14 | 14 | use lib qw( lib ); |
| 15 | use Parrot::Config; |
15 | 16 | use Parrot::Headerizer::Functions qw( read_file ); |
16 | 17 | use Parrot::Headerizer; |
17 | 18 | use IO::CaptureOutput qw| capture |; |
… |
… |
|
142 | 143 | my $srcdir = File::Spec->catpath( $tdir, 'src' ); |
143 | 144 | my $srcopsdir = File::Spec->catpath( $tdir, 'src', 'ops' ); |
144 | 145 | mkpath( $srcopsdir, 0, 0777 ); |
145 | | my $srcopso = File::Spec->catfile( $srcopsdir, 'ops.o' ); |
| 146 | my $srcopso = File::Spec->catfile( $srcopsdir, "ops$PConfig{o}" ); |
146 | 147 | touchfile($srcopso); |
147 | 148 | $self = Parrot::Headerizer->new(); |
148 | 149 | isa_ok( $self, 'Parrot::Headerizer' ); |
… |
… |
|
164 | 165 | |
165 | 166 | my $srcdir = File::Spec->catpath( $tdir, 'src' ); |
166 | 167 | mkpath( $srcdir, 0, 0777 ); |
167 | | my $srco = File::Spec->catfile( $srcdir, 'other.o' ); |
| 168 | my $srco = File::Spec->catfile( $srcdir, "other$PConfig{o}" ); |
168 | 169 | touchfile($srco); |
169 | 170 | my $srcs = File::Spec->catfile( $srcdir, 'other.s' ); |
170 | 171 | touchfile($srcs); |
… |
… |
|
263 | 264 | my $stub = 'fixedbooleanarray'; |
264 | 265 | my $srcdir = File::Spec->catpath( $tdir, 'src', 'pmc' ); |
265 | 266 | mkpath( $srcdir, 0, 0777 ); |
266 | | my $srco = File::Spec->catfile( $srcdir, "$stub.o" ); |
| 267 | my $srco = File::Spec->catfile( $srcdir, "$stub$PConfig{o}" ); |
267 | 268 | touchfile($srco); |
268 | 269 | my $srcc = File::Spec->catfile( $srcdir, "$stub.c" ); |
269 | 270 | copy "$cwd/t/tools/dev/headerizer/testlib/${stub}_pmc.in" => $srcc |
… |
… |
|
301 | 302 | my $stub = 'nci'; |
302 | 303 | my $srcdir = File::Spec->catpath( $tdir, 'src', 'pmc' ); |
303 | 304 | mkpath( $srcdir, 0, 0777 ); |
304 | | my $srco = File::Spec->catfile( $srcdir, "$stub.o" ); |
| 305 | my $srco = File::Spec->catfile( $srcdir, "$stub$PConfig{o}" ); |
305 | 306 | touchfile($srco); |
306 | 307 | my $srcc = File::Spec->catfile( $srcdir, "$stub.c" ); |
307 | 308 | copy "$cwd/t/tools/dev/headerizer/testlib/${stub}_pmc.in" => $srcc |
… |
… |
|
699 | 700 | my $stub = 'list'; |
700 | 701 | my $srcdir = File::Spec->catpath( $tdir, 'src' ); |
701 | 702 | mkpath( $srcdir, 0, 0777 ); |
702 | | my $srco = File::Spec->catfile( $srcdir, "$stub.o" ); |
| 703 | my $srco = File::Spec->catfile( $srcdir, "$stub$PConfig{o}" ); |
703 | 704 | touchfile($srco); |
704 | 705 | my $srcc = File::Spec->catfile( $srcdir, "$stub.c" ); |
705 | 706 | copy "$cwd/t/tools/dev/headerizer/testlib/list.in" => $srcc |