diff options
author | Tony Cook <tony@develop-help.com> | 2014-12-08 11:01:34 +1100 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2015-01-06 09:30:28 +1100 |
commit | 70a78ba74c408e393934cf301faba17862fdbb7d (patch) | |
tree | da1bd788f1dc00329f031203dc272bc6cbf181ab /t/TEST | |
parent | 11fbb0483cbc270c7e9296703ee04bba03a3e00a (diff) | |
download | perl-70a78ba74c408e393934cf301faba17862fdbb7d.tar.gz |
t/TEST: glob the supplied filenames on Win32
since Win32 perl doesn't glob by default
at this point the following tests fail:
io/dup.t
io/fs.t
io/open.t
io/perlio_leaks.t
op/coreamp.t
op/filetest.t
op/fork.t
op/fresh_perl_utf8.t
op/glob.t
op/heredoc.t
op/magic.t
op/read.t
op/readline.t
op/sselect.t
op/stat.t
op/substr.t
op/tie_fetch_count.t
op/write.t
Diffstat (limited to 't/TEST')
-rwxr-xr-x | t/TEST | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -123,6 +123,9 @@ $| = 1; # remove empty elements due to insertion of empty symbols via "''p1'" syntax @ARGV = grep($_,@ARGV) if $^O eq 'VMS'; + +@ARGV = map glob, @ARGV if $^O eq 'MSWin32'; + our $show_elapsed_time = $ENV{HARNESS_TIMER} || 0; # Cheesy version of Getopt::Std. We can't replace it with that, because we @@ -220,7 +223,7 @@ sub _scan_test { close $script; - my $perl = './perl'; + my $perl = $^O eq 'MSWin32' ? '.\perl' : './perl'; my $lib = '../lib'; my $run_dir; my $return_dir; |