Hi,

On Wed, 06 Nov 2024 at 09:31:36 +0900, Charles Plessy wrote:
> So if you know a good way to enable debci to provide the needed locale
> to debci, please let me know.

I believe that the thread starting with
https://lists.debian.org/msgid-search/yqgfe7ef7wux9...@torres.zugschlus.de
was for tests running during packaging, but the same tricks can be used
for autopkgtests too.

I've done the following in a similar situation:

    Test-Command: mkdir -p tests/.locale &&
     localedef -c -i en_US -f UTF-8 tests/.locale/en_US.utf8 &&
     env LOCPATH="$(pwd)/tests/.locale" test_command
    Depends: locales, […]

Or just ‘Depends: locales-all’ but that'll lead to slightly longer
running tests.

Cheers,
-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to