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

Re: autopkgtest: locale specific test cases



On Wed, 08 Jan 2020 at 14:17:04 +0100, Mike Gabriel wrote:
> [please Cc: me in your replies, I am not subscribed to this list. Thanks.]
> 
> while working through various autopkgtest failures in cmake-extras, I
> noticed that one of its tests (debian/tests/intltool) succeeds, if I have
> the en_AU.UTF-8 locale configured on my system, but it fails, if en_AU.UTF-8
> is not configured.

As a lighter-weight alternative to locales-all, you could depend on locales
and generate your own en_AU.UTF-8 locale, something like this:

https://salsa.debian.org/gnome-team/pango/commit/8f0d94e8ac5cd531502d6d6c07a134c61f5ce635
https://salsa.debian.org/gnome-team/pango/commit/4fb5a392d30c56f3eaa58169deb33b211068b2ca

pango wants en_US.UTF-8 for a test, but the principle is the same. The
first commit has a bug which was fixed in the second.

    smcv


Reply to: