From: Nicholas Clark Date: Sun, 31 Oct 2004 10:41:17 +0000 (+0000) Subject: Correct change 23437 - as Config isn't imported, need to use a fully X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8dd2f9d43efcb9beb9eed67526a7688deb2a8269;p=p5sagit%2Fp5-mst-13.2.git Correct change 23437 - as Config isn't imported, need to use a fully qualified package p4raw-id: //depot/perl@23441 --- diff --git a/ext/B/t/f_map.t b/ext/B/t/f_map.t index dd5b732..449d730 100644 --- a/ext/B/t/f_map.t +++ b/ext/B/t/f_map.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } if (!$Config::Config{useperlio}) { print "1..0 # Skip -- need perlio to walk the optree\n"; diff --git a/ext/B/t/f_sort.t b/ext/B/t/f_sort.t index 8abd070..7d60173 100644 --- a/ext/B/t/f_sort.t +++ b/ext/B/t/f_sort.t @@ -12,11 +12,10 @@ BEGIN { print "1..0 # Skip -- need perlio to walk the optree\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } if ($] < 5.009) { print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n"; diff --git a/ext/B/t/optree_check.t b/ext/B/t/optree_check.t index e9f6d1e..6150cce 100644 --- a/ext/B/t/optree_check.t +++ b/ext/B/t/optree_check.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } require './test.pl'; } diff --git a/ext/B/t/optree_concise.t b/ext/B/t/optree_concise.t index cecc572..efd351a 100644 --- a/ext/B/t/optree_concise.t +++ b/ext/B/t/optree_concise.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } require './test.pl'; } diff --git a/ext/B/t/optree_samples.t b/ext/B/t/optree_samples.t index cfdbeaf..576a890 100644 --- a/ext/B/t/optree_samples.t +++ b/ext/B/t/optree_samples.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } if ($] < 5.009) { print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n"; diff --git a/ext/B/t/optree_sort.t b/ext/B/t/optree_sort.t index 36ddc54..6b59f15 100644 --- a/ext/B/t/optree_sort.t +++ b/ext/B/t/optree_sort.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } require './test.pl'; } diff --git a/ext/B/t/optree_specials.t b/ext/B/t/optree_specials.t index b9eec16..8b875aa 100644 --- a/ext/B/t/optree_specials.t +++ b/ext/B/t/optree_specials.t @@ -8,11 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0; - } require './test.pl'; } diff --git a/ext/B/t/optree_varinit.t b/ext/B/t/optree_varinit.t index f70854e..824bcb0 100644 --- a/ext/B/t/optree_varinit.t +++ b/ext/B/t/optree_varinit.t @@ -8,7 +8,7 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } - if ($Config{'extensions'} !~ /\bData\/Dumper\b/) { + if ($Config::Config{'extensions'} !~ /\bData\/Dumper\b/) { print "1..0 # Skip: Data::Dumper was not built, needed by OptreeCheck\n"; exit 0;