[R-pkg-team] Bug#1072630: Help needed on providing the en_US locale in autopkgtests
Guilhem Moulin
guilhem at debian.org
Wed Nov 6 01:00:48 GMT 2024
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/YqGFE7eF7wUX9LM7@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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/r-pkg-team/attachments/20241106/d4ebff6f/attachment.sig>
More information about the R-pkg-team
mailing list