diff options
author | Peter Prymmer <PPrymmer@factset.com> | 2000-08-21 07:58:16 -0700 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2000-08-21 22:25:40 +0000 |
commit | 9f233367053269446838a3b7b30e20eb6c968f24 (patch) | |
tree | 769a03f8bb0f55f03b2c59f7a1c0801025a1b62c /t/lib/st-dclone.t | |
parent | 3341c981195361852faac9ec7b9d55dfa1e13a5e (diff) | |
download | perl-9f233367053269446838a3b7b30e20eb6c968f24.tar.gz |
make new Storable tests forgiving of places where not built
Message-ID: <Pine.OSF.4.10.10008211456250.17516-100000@aspara.forte.com>
p4raw-id: //depot/perl@6759
Diffstat (limited to 't/lib/st-dclone.t')
-rw-r--r-- | t/lib/st-dclone.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/t/lib/st-dclone.t b/t/lib/st-dclone.t index 95407950bc..ee7d8ad49b 100644 --- a/t/lib/st-dclone.t +++ b/t/lib/st-dclone.t @@ -14,6 +14,11 @@ sub BEGIN { chdir('t') if -d 't'; + require Config; import Config; + if ($Config{'extensions'} !~ /\bStorable\b/) { + print "1..0 # Skip: Storable was not built\n"; + exit 0; + } unshift @INC, '../lib'; require 'lib/st-dump.pl'; } |