[Libreoffice] [PUSHED] EasyHacks: Reanimated tests in ure/cppuhelper/qa

David Tardon dtardon at redhat.com
Tue Mar 15 00:54:28 PDT 2011


On Sat, Mar 12, 2011 at 06:41:02PM +0100, Wilhelm Pflüger wrote:
> I attach some other reanimated tests. 
> 
> I had to deactivate the test 'test_weak.cxx' in prj/build.lst.
> This test failed with 'error 139' - this is typically a segfault
> during test execution, oops.
> 
> I had no time to investigate this issue up to now, sorry.

No problem :)

> -            for (int i = 0; i < sizeof aTests / sizeof (Test); ++i)
> +            for (unsigned int i = 0; i < sizeof aTests / sizeof (Test); ++i)

I changed the size computation to SAL_N_ELEMENTS(aTests) .

D.


More information about the LibreOffice mailing list