all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#72039: [core-updates] ki18n test failure of KCatalogTest (locales problem?)
@ 2024-07-10 17:22 Leo Famulari
  2024-07-10 18:00 ` Zheng Junjie
  0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2024-07-10 17:22 UTC (permalink / raw)
  To: 72039

On core-updates commit 736939037346, ki18n fails its test suite like
this:

********* Start testing of KCatalogTest *********
Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.4.0), unknown unknown
PASS   : KCatalogTest::initTestCase()
QWARN  : KCatalogTest::testLookup() kf.i18n: The value of the LANGUAGE environment variable: "fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH" ( size: 95 ),
 was longer than (and consequently truncated to) the max. length of: 54
FAIL!  : KCatalogTest::testLookup() Compared values are not the same
   Actual   (c.name())                          : "New Zealand"
   Expected (QStringLiteral("Nouvelle-Zélande")): "Nouvelle-Z\u00E9lande"
   Loc: [/tmp/guix-build-ki18n-5.114.0.drv-0/ki18n-5.114.0/autotests/kcatalogtest.cpp(40)]
PASS   : KCatalogTest::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
********* Finished testing of KCatalogTest *********
<end of output>
Test time =   0.01 sec
----------------------------------------------------------
Test Failed.
"kcatalogtest" end time: Jul 10 17:16 UTC
"kcatalogtest" time elapsed: 00:00:00
----------------------------------------------------------

It expects the value "New Zealand", but instead receives
"Nouvelle-Z\u00E9lande".

And there is a warning about the LANGUAGE environment variable, although
this variable is defined in the 'environment-variables' debugging file
created when building with '--keep-failed'.

It fails the same with ki18n version 5.116.0, which is the latest
version in the 5 series.

Any ideas?




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72039: [core-updates] ki18n test failure of KCatalogTest (locales problem?)
  2024-07-10 17:22 bug#72039: [core-updates] ki18n test failure of KCatalogTest (locales problem?) Leo Famulari
@ 2024-07-10 18:00 ` Zheng Junjie
  2024-07-10 19:34   ` Leo Famulari
  0 siblings, 1 reply; 3+ messages in thread
From: Zheng Junjie @ 2024-07-10 18:00 UTC (permalink / raw)
  To: Leo Famulari; +Cc: 72039

[-- Attachment #1: Type: text/plain, Size: 2035 bytes --]

Leo Famulari <leo@famulari.name> writes:

> On core-updates commit 736939037346, ki18n fails its test suite like
> this:
>
> ********* Start testing of KCatalogTest *********
> Config: Using QtTest library 5.15.10, Qt 5.15.10 (x86_64-little_endian-lp64 shared (dynamic) release build; by GCC 11.4.0), unknown unknown
> PASS   : KCatalogTest::initTestCase()
> QWARN  : KCatalogTest::testLookup() kf.i18n: The value of the LANGUAGE environment variable: "fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH:fr_CH" ( size: 95 ),
>  was longer than (and consequently truncated to) the max. length of: 54
> FAIL!  : KCatalogTest::testLookup() Compared values are not the same
>    Actual   (c.name())                          : "New Zealand"
>    Expected (QStringLiteral("Nouvelle-Zélande")): "Nouvelle-Z\u00E9lande"
>    Loc: [/tmp/guix-build-ki18n-5.114.0.drv-0/ki18n-5.114.0/autotests/kcatalogtest.cpp(40)]
> PASS   : KCatalogTest::cleanupTestCase()
> Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted, 2ms
> ********* Finished testing of KCatalogTest *********
> <end of output>
> Test time =   0.01 sec
> ----------------------------------------------------------
> Test Failed.
> "kcatalogtest" end time: Jul 10 17:16 UTC
> "kcatalogtest" time elapsed: 00:00:00
> ----------------------------------------------------------
>
> It expects the value "New Zealand", but instead receives
> "Nouvelle-Z\u00E9lande".
>
> And there is a warning about the LANGUAGE environment variable, although
> this variable is defined in the 'environment-variables' debugging file
> created when building with '--keep-failed'.
>
> It fails the same with ki18n version 5.116.0, which is the latest
> version in the 5 series.
>
> Any ideas?

i think just disable this test, see

https://invent.kde.org/frameworks/ki18n/-/commit/241e0cfa96b1491721f361f1713b3514c58bde56#note_654140
https://gitweb.gentoo.org/proj/kde.git/commit/?id=28525d897f1a83a81df0bbc3ff08de8d94083617

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#72039: [core-updates] ki18n test failure of KCatalogTest (locales problem?)
  2024-07-10 18:00 ` Zheng Junjie
@ 2024-07-10 19:34   ` Leo Famulari
  0 siblings, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2024-07-10 19:34 UTC (permalink / raw)
  To: Zheng Junjie; +Cc: 72039-done

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

On Thu, Jul 11, 2024 at 02:00:45AM +0800, Zheng Junjie wrote:
> i think just disable this test, see
> 
> https://invent.kde.org/frameworks/ki18n/-/commit/241e0cfa96b1491721f361f1713b3514c58bde56#note_654140
> https://gitweb.gentoo.org/proj/kde.git/commit/?id=28525d897f1a83a81df0bbc3ff08de8d94083617

Ah, good find! I disabled it in commit 378e1d9b69b030a165236323392a0a10684422c5

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-07-10 19:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-10 17:22 bug#72039: [core-updates] ki18n test failure of KCatalogTest (locales problem?) Leo Famulari
2024-07-10 18:00 ` Zheng Junjie
2024-07-10 19:34   ` Leo Famulari

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.