Skip to content

Commit

Permalink
[t/harness] fix testing if not checked out as languages/rakudo
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 8, 2009
1 parent 6aaec33 commit fb66ff6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions t/harness
Expand Up @@ -20,6 +20,12 @@ our %harness_args = (
verbosity => 0,
);

if (-d 'parrot') {
$harness_args{exec} = ['parrot/parrot', 'perl6.pbc'];
} else {
$harness_args{compiler} = 'perl6.pbc';
}

GetOptions(
'tests-from-file=s' => \my $list_file,
'fudge' => \my $do_fudge,
Expand Down

0 comments on commit fb66ff6

Please sign in to comment.