This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
[ID 20001002.001] Not OK: perl v5.7.0 +DEVEL7093 +...001 on i586-linux 2.2.16 (UNINST...
authorNicholas Clark <nick@ccl4.org>
Mon, 2 Oct 2000 11:03:24 +0000 (12:03 +0100)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 3 Oct 2000 00:50:56 +0000 (00:50 +0000)
Message-Id: <20001002110324.D20073@plum.flirble.org>

Also fixes bug ID 20001002.005.

p4raw-id: //depot/perl@7125

t/lib/encode.t

index 08e9bac..568efd3 100644 (file)
@@ -1,6 +1,11 @@
 BEGIN {
     chdir 't' if -d 't';
     @INC = '../lib';
+    require Config; import Config;
+    if ($Config{'extensions'} !~ /\Encode\b/) {
+      print "1..0 # Skip: Encode was not built\n";
+      exit 0;
+    }
 }
 use Test;
 use Encode qw(from_to);