diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-09 17:48:49 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2004-08-09 17:48:49 +0000 |
commit | 069768bdb70fb3052599d3e70898a0ed0e1c31d2 (patch) | |
tree | 1492d59179e2c9b07cb6c6754f78a3ef6e608e68 /gnu/usr.bin/perl/ext/B | |
parent | f2ebe24544ebe30f7ed499fda280dce09361f966 (diff) |
Import of stock perl 5.8.5
Diffstat (limited to 'gnu/usr.bin/perl/ext/B')
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/b.t | 5 | ||||
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/concise.t | 5 | ||||
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/o.t | 5 | ||||
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/showlex.t | 5 | ||||
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/terse.t | 5 | ||||
-rw-r--r-- | gnu/usr.bin/perl/ext/B/t/xref.t | 5 |
6 files changed, 30 insertions, 0 deletions
diff --git a/gnu/usr.bin/perl/ext/B/t/b.t b/gnu/usr.bin/perl/ext/B/t/b.t index 45250e2fb25..5e7201e490c 100644 --- a/gnu/usr.bin/perl/ext/B/t/b.t +++ b/gnu/usr.bin/perl/ext/B/t/b.t @@ -8,6 +8,11 @@ BEGIN { @INC = '.'; push @INC, '../lib'; } + require Config; + if (($Config::Config{'extensions'} !~ /\bB\b/) ){ + print "1..0 # Skip -- Perl configured without B module\n"; + exit 0; + } } $| = 1; diff --git a/gnu/usr.bin/perl/ext/B/t/concise.t b/gnu/usr.bin/perl/ext/B/t/concise.t index 8a94628c21a..cb095a60523 100644 --- a/gnu/usr.bin/perl/ext/B/t/concise.t +++ b/gnu/usr.bin/perl/ext/B/t/concise.t @@ -3,6 +3,11 @@ BEGIN { chdir 't'; @INC = '../lib'; + require Config; + if (($Config::Config{'extensions'} !~ /\bB\b/) ){ + print "1..0 # Skip -- Perl configured without B module\n"; + exit 0; + } require './test.pl'; } 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'; } diff --git a/gnu/usr.bin/perl/ext/B/t/showlex.t b/gnu/usr.bin/perl/ext/B/t/showlex.t index afff12eac7b..501a00bf257 100644 --- a/gnu/usr.bin/perl/ext/B/t/showlex.t +++ b/gnu/usr.bin/perl/ext/B/t/showlex.t @@ -7,6 +7,11 @@ BEGIN { } else { @INC = '../lib'; } + require Config; + if (($Config::Config{'extensions'} !~ /\bB\b/) ){ + print "1..0 # Skip -- Perl configured without B module\n"; + exit 0; + } } $| = 1; 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; diff --git a/gnu/usr.bin/perl/ext/B/t/xref.t b/gnu/usr.bin/perl/ext/B/t/xref.t index b1d0bc0406a..ade0154d59c 100644 --- a/gnu/usr.bin/perl/ext/B/t/xref.t +++ b/gnu/usr.bin/perl/ext/B/t/xref.t @@ -3,6 +3,11 @@ BEGIN { chdir 't' if -d 't'; @INC = qw(../lib); + require Config; + if (($Config::Config{'extensions'} !~ /\bB\b/) ){ + print "1..0 # Skip -- Perl configured without B module\n"; + exit 0; + } } use strict; |