mirror of
https://github.com/Perl/perl5.git
synced 2026-01-26 08:38:23 +00:00
21_win32.t: provide reason why file is skipped
Following example of dist/IO/t/io_pipe.t.
This commit is contained in:
parent
822f020a4a
commit
bc63a9bf6c
3
dist/Tie-File/t/21_win32.t
vendored
3
dist/Tie-File/t/21_win32.t
vendored
@ -14,7 +14,8 @@ use warnings;
|
||||
my $file = "tf21-$$.txt";
|
||||
|
||||
unless ($^O =~ /^(MSWin32|dos)$/) {
|
||||
print "1..0\n";
|
||||
my $reason = 'not Win32';
|
||||
print "1..0 # Skip: $reason\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user