Message ID | 20230705153137.389584-1-jstephan@baylibre.com |
---|---|
Headers | show |
Series | Add ptest for less | expand |
Hi Julien, > On 5 Jul 2023, at 16:31, Julien Stephan via lists.openembedded.org <jstephan=baylibre.com@lists.openembedded.org> wrote: > So before test code gets bundled into the release tarballs, switch to > github URI. > Please split this into a separate commit, so we can review the change to git separately from the addition of ptest. > FAIL: chinese1.lt > FAIL: utf8-2.txt.lt If there’s a way to make the tests more verbose when they fail then that’s really useful, being able to see what the error actually is helps a lot. As you say, these are locale issues, so you _probably_ need to RDEPEND on the right packages. For example, glib-2.0-ptest RDEPENDS on glibc-gconv-utf-32 and locale-base-fr-fr to pull in UTF-32 encoding and fr_FR locale support. Ross
On Wed, Jul 05, 2023 at 03:52:00PM +0000, Ross Burton wrote: > Hi Julien, > > > On 5 Jul 2023, at 16:31, Julien Stephan via lists.openembedded.org <jstephan=baylibre.com@lists.openembedded.org> wrote: > > So before test code gets bundled into the release tarballs, switch to > > github URI. > > > > Please split this into a separate commit, so we can review the change to git separately from the addition of ptest. > Hi Ross, done in v2! > > FAIL: chinese1.lt > > FAIL: utf8-2.txt.lt > > If there’s a way to make the tests more verbose when they fail then that’s really useful, being able to see what the error actually is helps a lot. > I found an option to be verbose an error, I'll add it in a v4. > As you say, these are locale issues, so you _probably_ need to RDEPEND on the right packages. For example, glib-2.0-ptest RDEPENDS on glibc-gconv-utf-32 and locale-base-fr-fr to pull in UTF-32 encoding and fr_FR locale support. > thank you for pointing this out. I fixed the issue using locale-base-en-us as RDEPENDS. Fixed in v3. Best Julien > Ross