diff options
Diffstat (limited to 'gnu/usr.bin/perl/ext/B/t/o.t')
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/o.t | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/ext/B/t/o.t b/gnu/usr.bin/perl/ext/B/t/o.t index d9642286941..b8b4349bc24 100644 --- a/gnu/usr.bin/perl/ext/B/t/o.t +++ b/gnu/usr.bin/perl/ext/B/t/o.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; @INC = ('../lib', 'lib', '.'); + require Config; + if (($Config::Config{'extensions'} !~ /\bB\b/) ){ + print "1..0 # Skip -- Perl configured without B module\n"; + exit 0; + } require 'test.pl'; } |