From 006f7231973f49059e9340f4a13c4b893c35d048 Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 23 Jan 2025 08:41:57 +0000 Subject: [PATCH] dev-perl/Unicode-UTF8: adjust test count for 32-bit Closes: https://bugs.gentoo.org/927591 Bug: https://bugs.gentoo.org/925365 Signed-off-by: Sam James --- .../files/Unicode-UTF8-0.620.0-32-bit.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch b/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch index 9c243c9d106aa..9eb0702c6abce 100644 --- a/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch +++ b/dev-perl/Unicode-UTF8/files/Unicode-UTF8-0.620.0-32-bit.patch @@ -50,3 +50,24 @@ Subject: [PATCH 2/2] fixup! Fix 080_super.t for 32-bit push @SUPER, $i; } +--- a/t/080_super.t ++++ b/t/080_super.t +@@ -5,10 +5,17 @@ use strict; + use warnings; + use lib 't'; + +-use Test::More tests => 1537; ++use Test::More; + use Util qw[throws_ok]; + + BEGIN { ++ if ($Config{ivsize} > 4) { ++ plan tests => 1537; ++ } ++ else { ++ plan tests => 1025; ++ } ++ + use_ok('Unicode::UTF8', qw[ encode_utf8 ]); + } +