Skip to content

Commit

Permalink
handle different build layout in in update_passing_test_data.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 15, 2009
1 parent 2c972d7 commit 314d8ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/update_passing_test_data.pl
Expand Up @@ -16,7 +16,7 @@ =head1 DESCRIPTION
there's a good reason for them not already being included.
This script should be called from the main Rakudo directory (ie
C<languages/perl6/> relative to parrot).
C<languages/rakudo/> relative to parrot).
=cut

Expand All @@ -28,6 +28,7 @@ =head1 DESCRIPTION
use File::Find;
use Data::Dumper;

my $parrot = -d 'parrot' ? 'parrot/parrot' : '../../parrot';

my %not_process;
{
Expand Down Expand Up @@ -91,7 +92,7 @@ sub read_specfile {
sub get_harness {
return TAP::Harness->new({
verbosity => -2,
exec => ['../../parrot', '-G', 'perl6.pbc'],
exec => [$parrot, '-G', 'perl6.pbc'],
merge => 1,
});
}
Expand Down

0 comments on commit 314d8ce

Please sign in to comment.