[Libreoffice] howto for getting non-trivial cppunit tests up and running

Giuseppe Castagno giuseppe.castagno at acca-esse.eu
Thu Oct 21 02:44:26 PDT 2010


Caolán McNamara wrote:
> On Thu, 2010-10-21 at 10:54 +0200, Giuseppe Castagno wrote:
> 
>> log per request attached.
>> I stopped the run after some of these:
> 
>> ---Type <return> to continue, or q <return> to quit---
> 
> Bah, you shouldn't have had to type anything here, it should have just
> done it all automatically, and it does here.
> 
> I've just pushed "set pagination off" into the gdb script which I hope
> will avoid that problem for you if you can try again for me.

done. Works better now it exited by itself.

 From console activity:
... 
-env:BRAND_BASE_DIR="file:///home/beppe/LibO-b/LibO_master-head-wrk2/wrk2.d/build/libreoffice-3.2.99.2/sc/qa/unit/../../unxlngx6.pro/misc/qa_unit" 
\
 
-env:UNO_USER_PACKAGES_CACHE="file:///home/beppe/LibO-b/LibO_master-head-wrk2/wrk2.d/build/libreoffice-3.2.99.2/sc/qa/unit/../../unxlngx6.pro/misc/qa_unit"
GNU gdb (GDB) 7.0-ubuntu
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from 
/home/beppe/LibO-b/LibO_master-head-wrk2/wrk2.d/build/libreoffice-3.2.99.2/solver/330/unxlngx6.pro/bin/cppunittester...done.
Catchpoint 1 (throw)
Catchpoint 2 (catch)
log will be saved as gdbtrace.log, this will take some time, patience...
OK (1)
....

the zipped log is attached.

beppec56.

-- 
Kind Regards,
Giuseppe Castagno
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu
beppec56 at openoffice.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdbtrace.log.zip
Type: application/zip
Size: 26505 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20101021/7bcb0993/attachment-0001.zip>


More information about the LibreOffice mailing list