diff options
author | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:19:16 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2004-06-18 13:19:16 +0000 |
commit | fedc905f6be3c931533a70fc7e1d4989201d1ae2 (patch) | |
tree | 6087fc437903970dab8845e21ce80d472291cefa /ext/IO | |
parent | a73a1357d5e6be27adb5d67469939179dfdc53b2 (diff) | |
download | perl-fedc905f6be3c931533a70fc7e1d4989201d1ae2.tar.gz |
Not ideal, but skip all of IO's tests if Socket is not built.
p4raw-id: //depot/perl@22955
Diffstat (limited to 'ext/IO')
-rw-r--r-- | ext/IO/t/IO.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ext/IO/t/IO.t b/ext/IO/t/IO.t index a68e55cf8a..e30fd5091f 100644 --- a/ext/IO/t/IO.t +++ b/ext/IO/t/IO.t @@ -4,6 +4,11 @@ BEGIN { chdir 't' if -d 't'; @INC = '../lib'; + require config; + if ($Config::Config{'extensions'} !~ /\bSocket\b/) { + print "1..0 # Skip: Socket not built - IO.pm uses Socket"; + exit 0; + } } use strict; |