On Wed, 29 Dec 2021 at 00:07:47 +0100, luca.per...@gmail.com forwarded:
> A couple of the unit tests do some checking
> of collation order, and hence require the tests to be run with a
> specific locale. For annoying technical reasons, that has to be
> en_US.UTF-8, which means support files for that locale need to be
> installed as a build dependency for the tests to succeed.

There are two ways to guarantee an en_US.UTF-8 locale:

- Build-depend on locales-all

- Build-depend on locales|locales-all and generate locale files,
  like src:glib2.0 does

I would personally suggest copying the debian/tests/run-with-locales script
from src:glib2.0 and running that. See glib2.0's debian/rules for an example
of how to use that script.

    smcv

Reply via email to