projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7139292
)
t/run/switches.t: Skip setlocale tests if !d_setlocale
author
Jess Robinson
<castaway@desert-island.me.uk>
Fri, 19 Apr 2013 11:08:34 +0000
(12:08 +0100)
committer
Brian Fraser
<fraserbn@gmail.com>
Sat, 18 Jan 2014 15:12:11 +0000
(12:12 -0300)
t/run/switches.t
patch
|
blob
|
history
diff --git
a/t/run/switches.t
b/t/run/switches.t
index
315c3b9
..
a2e4bad
100644
(file)
--- a/
t/run/switches.t
+++ b/
t/run/switches.t
@@
-7,6
+7,7
@@
BEGIN {
chdir 't' if -d 't';
@INC = '../lib';
+ require Config; import Config;
}
BEGIN { require "./test.pl"; }
@@
-111,6
+112,7
@@
SWTEST
SKIP: {
skip "no POSIX on miniperl", 1, unless $INC{"POSIX.pm"};
+ skip 'No locale testing without d_setlocale', 1 if(!$Config{d_setlocale});
my $tempdir = tempfile;
mkdir $tempdir, 0700 or die "Can't mkdir '$tempdir': $!";