r29245 - in /trunk/libglib-perl/debian/patches: fix-tests series

ryan52-guest at users.alioth.debian.org ryan52-guest at users.alioth.debian.org
Sun Jan 4 22:37:05 UTC 2009


Author: ryan52-guest
Date: Sun Jan  4 22:37:02 2009
New Revision: 29245

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=29245
Log:
hackishly skip certain tests if locales aren't set up, because they fail

Added:
    trunk/libglib-perl/debian/patches/fix-tests
Modified:
    trunk/libglib-perl/debian/patches/series

Added: trunk/libglib-perl/debian/patches/fix-tests
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libglib-perl/debian/patches/fix-tests?rev=29245&op=file
==============================================================================
--- trunk/libglib-perl/debian/patches/fix-tests (added)
+++ trunk/libglib-perl/debian/patches/fix-tests Sun Jan  4 22:37:02 2009
@@ -1,0 +1,19 @@
+--- a/t/options.t
++++ b/t/options.t
+@@ -137,6 +137,8 @@
+     is_deeply ($filename_array, [$^X, $0]);
+   }
+ 
++SKIP: {
++    skip 'needs locales', 6 if($ENV{'LANG'} eq "C");
+   # Test actual parsing.
+   {
+     @ARGV = qw(-n
+@@ -154,6 +156,7 @@
+     is_deeply ($string_array, [qw/äää ööö/]);
+     is_deeply ($filename_array, [qw(/usr/bin/bla ./harness)]);
+   }
++  }
+ }
+ 
+ # --------------------------------------------------------------------------- #

Modified: trunk/libglib-perl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libglib-perl/debian/patches/series?rev=29245&op=diff
==============================================================================
--- trunk/libglib-perl/debian/patches/series (original)
+++ trunk/libglib-perl/debian/patches/series Sun Jan  4 22:37:02 2009
@@ -1,2 +1,3 @@
+fix-tests
 remove-version-checking
 fix-man-pages




More information about the Pkg-perl-cvs-commits mailing list