Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


On 07/16/2015 02:09 PM, Ashod Nakashian wrote:
If you are referring to https://gerrit.libreoffice.org/#/c/17080/ it
looks like it's a unittest issue, not build.

This is the relevant part from the log:


paragraph-sdt.docx,911
W:  @×Å£¾šMÐUnknown node under /registry/extlang: deprecated
W:  
ó¶ÊExùŒsumUnknown node under /registry/grandfathered: comments
W:  ˆ¹½¶ˆE€€˜¾øÁ³¶ŠEØ€i-tayUnknown node under /registry/grandfathered: comments
##Failure Location unknown## : Error
Test name: testEditTime::Import_Export_Import
An uncaught exception of type com.sun.star.task.ErrorCodeIOException


---

If you can build on Windows, you should be able to hook VS debugger.


The build log tells us how to debug unit-tests:


Error: a unit test failed, please do one of:

export CPPUNITTRACE=""[full path to devenv.exe]" /debugexe" # for interactive debugging in Visual 
Studio
export CPPUNITTRACE="drmemory -free_max_frames 20"            # for memory checking (install 
Dr.Memory first, and put it to your PATH)

and retry using: make CppunitTest_sw_ooxmlfieldexport


---


Here is an example:


CPPUNITTRACE="\"C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/devenv.exe\" 
/debugexe" /opt/lo/bin/make
CppunitTest_sw_ooxmlfieldexport


This will launch VS (if the path is correct) and run the unittest from it. You should be able to set 
breakpoints and catch exceptions of your choice, or all (from the Debug menu > Exceptions).

thanks for the hints, I will have a look.

--
Kind Regards,
Giuseppe Castagno aka beppec56
Acca Esse http://www.acca-esse.eu
giuseppe.castagno at acca-esse.eu

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.