Test failed `TestBreakIterator::testLao` with icu 70

oxalica oxalicc at pm.me
Sat Nov 13 19:56:31 UTC 2021


I'm on NixOS and we recently updated a libreoffice dependency `icu` to 70.


When building libreoffice with `--with-system-libs`, it builds 
successfully but fails exact one unit test.

> /build/libreoffice-
> equality assertion failed
> - Expected: 9
> - Actual  : 12

I can confirm that downgrading `icu` back to 69.0 fixes the test 
failure. But I'm not sure what is this test doing and I cannot read Lao. 
Does the test need updating, or there it's an issue of the new `icu` 70.0?

I also notice that the `testLao` is currently guarded and only be 
enabled if icu >51. Does it depends on some icu behaviors and we should 
also exclude it for icu >=70?

The full log of build and test can be seen here,


More information about the LibreOffice mailing list