I think this is quite enough testing for a deprecated feature.
[p5sagit/p5-mst-13.2.git] / t / lib / u-reftype.t
index 06f9ffb..ea7ea7b 100755 (executable)
@@ -1,6 +1,11 @@
 BEGIN {
        chdir 't' if -d 't';
        @INC = '../lib';
+       require Config; import Config;
+       if ($Config{extensions} !~ /\bList\/Util\b/) {
+           print "1..0 # Skip: List::Util was not built\n";
+           exit 0;
+       }
 }
 
 use Scalar::Util qw(reftype);