Skip to content

Commit

Permalink
Twiddle the test harness patch to perl6 on Win32 so env.t works under…
Browse files Browse the repository at this point in the history
… the harness. I'm still a little bewildered how we ever managed to run any tests...
  • Loading branch information
jnthn committed May 12, 2009
1 parent 7cc0b68 commit 85e5b9c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions t/harness
Expand Up @@ -12,7 +12,8 @@ use FindBin;
use File::Spec;
use Getopt::Long qw(:config pass_through);

$ENV{'HARNESS_PERL'} = './perl6';
my $slash = $^O eq 'MSWin32' ? '\\' : '/';
$ENV{'HARNESS_PERL'} = ".${slash}perl6";
use Test::Harness;
$Test::Harness::switches = '';

Expand All @@ -27,8 +28,6 @@ GetOptions(
my @pass_through_options = grep m/^--?[^-]/, @ARGV;
my @files = grep m/^[^-]/, @ARGV;

my $slash = $^O eq 'MSWin32' ? '\\' : '/';

if ($list_file) {
open(my $f, '<', $list_file)
or die "Can't open file '$list_file' for reading: $!";
Expand Down

0 comments on commit 85e5b9c

Please sign in to comment.