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