Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Skip encoding tests when Encode is not installed.

  • Loading branch information...
commit fa4191530fce5f4be4888b057429622369f5bba1 1 parent 8af5165
@theory authored
Showing with 9 additions and 0 deletions.
  1. +3 −0  ChangeLog
  2. +6 −0 t/enc-chars.t
View
3  ChangeLog
@@ -3,6 +3,9 @@
* Release 3.26
+ Fixed another test script to skip all tests when Encode not
+ installed.
+
2013-02-16 David E. Wheeler <david@justatheory.org>
* Release 3.25
View
6 t/enc-chars.t
@@ -7,6 +7,12 @@ BEGIN {
chdir 't';
@INC = '../lib';
}
+
+ use Config;
+ if ($Config::Config{'extensions'} !~ /\bEncode\b/) {
+ print "1..0 # Skip: Encode was not built\n";
+ exit 0;
+ }
}
use strict;
Please sign in to comment.
Something went wrong with that request. Please try again.