minitest wasn't working. (The $^X /miniperl/ test in
[p5sagit/p5-mst-13.2.git] / t / uni / tr_7jis.t
index 360ce1c..894ff4c 100644 (file)
@@ -23,6 +23,11 @@ BEGIN {
         print "1..0 # Skip: PerlIO required\n";
         exit 0;
     }
+    eval 'use Encode';
+    if ($@ =~ /dynamic loading not available/) {
+        print "1..0 # Skip: no dynamic loading, no Encode\n";
+        exit 0;
+    }
     $| = 1;
 }