[packages/perl-Glib] - added test patch (disable some tests which code perl 5.18 refuses)
qboosh
qboosh at pld-linux.org
Sat Jun 22 22:06:48 CEST 2013
commit 7be3534169b478bc440ea8a70700cdfd60e0f7a8
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sat Jun 22 22:06:23 2013 +0200
- added test patch (disable some tests which code perl 5.18 refuses)
perl-Glib-test.patch | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/perl-Glib-test.patch b/perl-Glib-test.patch
new file mode 100644
index 0000000..85ba460
--- /dev/null
+++ b/perl-Glib-test.patch
@@ -0,0 +1,29 @@
+--- Glib-1.300/t/options.t.orig 2013-01-15 07:47:46.000000000 +0100
++++ Glib-1.300/t/options.t 2013-06-22 21:59:16.662022960 +0200
+@@ -9,7 +9,7 @@
+ unless (Glib -> CHECK_VERSION (2, 6, 0)) {
+ plan skip_all => 'the option stuff is new in 2.6';
+ } else {
+- plan tests => 33;
++ plan tests => 29;
+ }
+
+ # --------------------------------------------------------------------------- #
+@@ -155,17 +155,6 @@
+ is_deeply ($filename_array, [qw(/usr/bin/bla ./harness)]);
+ }
+
+- # Test that there is no double-encoding for utf8-encoded strings.
+- {
+- @ARGV = qw(-s ❤ ❤);
+- $context -> parse();
+-
+- is ($string, '❤');
+- is (length $string, 1);
+-
+- is ($ARGV[0], '❤');
+- is (length $ARGV[0], 1);
+- }
+ }
+
+ # --------------------------------------------------------------------------- #
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/perl-Glib.git/commitdiff/7be3534169b478bc440ea8a70700cdfd60e0f7a8
More information about the pld-cvs-commit
mailing list