Skip to content

Commit

Permalink
[tools] use fake executable in autounfudge and test_summary
Browse files Browse the repository at this point in the history
  • Loading branch information
moritz committed Feb 26, 2009
1 parent e6b7133 commit 2758f79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions tools/autounfudge.pl
Expand Up @@ -258,10 +258,9 @@ sub tests_ok {
}

sub get_harness {
my $parrot = -d 'parrot' ? 'parrot/parrot' : '../../parrot';
return TAP::Harness->new({
verbosity => -2,
exec => [$parrot, '-G', 'perl6.pbc'],
exec => ['./perl6'],
merge => 1,
});
}
Expand Down
3 changes: 1 addition & 2 deletions tools/test_summary.pl
Expand Up @@ -73,8 +73,7 @@
my $tname = $tname{$tfile};
my $syn = substr($tname, 0, 3); $syn{$syn}++;
printf "%s%s..", $tname, '.' x ($max - length($tname));
my $parrot = -d 'parrot' ? 'parrot/parrot' : '../../parrot';
my $cmd = "$parrot perl6.pbc $tfile";
my $cmd = "./perl6 $tfile";
my @results = split "\n", `$cmd`;
my ($test, $pass, $fail, $todo, $skip) = (0,0,0,0,0);
my (%skip, %todopass, %todofail);
Expand Down

0 comments on commit 2758f79

Please sign in to comment.