summaryrefslogtreecommitdiff
path: root/ext/B/t/o.t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-08-30 13:42:44 +0100
committerNicholas Clark <nick@ccl4.org>2009-08-30 13:43:09 +0100
commit74517a3a4d32901662e188ad8c7a66d4500d3ff3 (patch)
tree21394b2ad39f71e60bbc3b85b757847167436e33 /ext/B/t/o.t
parenta65b57ffe58c7e9daa34b18e13c8a127e7e499f2 (diff)
downloadperl-74517a3a4d32901662e188ad8c7a66d4500d3ff3.tar.gz
Remove the $ENV{PERL_CORE} boilerplate from B's tests.
Diffstat (limited to 'ext/B/t/o.t')
-rw-r--r--ext/B/t/o.t8
1 files changed, 1 insertions, 7 deletions
diff --git a/ext/B/t/o.t b/ext/B/t/o.t
index 2b84f39b29..f1c8ae3e83 100644
--- a/ext/B/t/o.t
+++ b/ext/B/t/o.t
@@ -1,13 +1,7 @@
#!./perl -w
BEGIN {
- if ($ENV{PERL_CORE}){
- chdir('t') if -d 't';
- @INC = ('.', 'lib', '../lib');
- } else {
- unshift @INC, 't';
- push @INC, "../../t";
- }
+ unshift @INC, 't';
require Config;
if (($Config::Config{'extensions'} !~ /\bB\b/) ){
print "1..0 # Skip -- Perl configured without B module\n";