[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: tests failing without specific locales



On Thu, Jun 09, 2022 at 04:37:45PM +0800, Paul Wise wrote:
> On Thu, 2022-06-09 at 08:38 +0200, Marc Haber wrote:
> > I havent looked at the test in detail, I have not yet decided whether
> > the package would be helpful in Debian. It looks like the test has
> > en_GB.UTF-8 hardcoded, sets the locale to that value and then fails
> > it it's not there. Most likely it's the home locale of the dev.
> 
> It sounds like you could simply patch it to use C.UTF-8 instead?
> 
> Or send upstream a patch to take the locale from the environment
> variables. Of course then tests might fail if someone uses a weird
> locale and the test results depend on the locale

At which point you have most likely uncovered a bug!  (unless you are
running something that by definition is supposed to be
locale-dependant).

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
More about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-

Attachment: signature.asc
Description: PGP signature


Reply to: