From: Nicholas Clark Date: Wed, 20 Oct 2004 22:39:36 +0000 (+0000) Subject: Need to skip optree walking tests if perlio not built X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=7f046282e716820f674dd01c0468a782b741538b;p=p5sagit%2Fp5-mst-13.2.git Need to skip optree walking tests if perlio not built p4raw-id: //depot/perl@23395 --- diff --git a/ext/B/t/f_map.t b/ext/B/t/f_map.t index 7d4303f..ff22dde 100644 --- a/ext/B/t/f_map.t +++ b/ext/B/t/f_map.t @@ -8,6 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } + if (!$Config::Config{useperlio}) { + print "1..0 # Skip -- need perlio to walk the optree\n"; + exit 0; + } if ($] < 5.009) { print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n"; exit 0; diff --git a/ext/B/t/f_sort.t b/ext/B/t/f_sort.t index c6f6bc4..26dfbe4 100644 --- a/ext/B/t/f_sort.t +++ b/ext/B/t/f_sort.t @@ -8,6 +8,10 @@ BEGIN { print "1..0 # Skip -- Perl configured without B module\n"; exit 0; } + if (!$Config::Config{useperlio}) { + print "1..0 # Skip -- need perlio to walk the optree\n"; + exit 0; + } if ($] < 5.009) { print "1..0 # Skip -- TODO - provide golden result regexps for 5.8\n"; exit 0;