Hey Dennis,
On Mon, Jul 17, 2017 at 8:48 AM, Dennis Francis <dennisfrancis.in@gmail.com>
wrote:
Hi Markus,
(moving my query from irc here)
1) I tried to create a uitest for calc as a testcase for https://bugs.
documentfoundation.org/show_bug.cgi?id=108881 .
In that I load the document referenced in bugzilla which has an empty
chart object.
Then I close that doc, and open a blank calc doc, but the uitest throws an
exception
on running it. ( For now I have commented out code relevant to reproducing
the tdf bug. )
The uitest case and backtrace shown are at https://pastebin.com/TbpfSJ8J
I have debugged this during the weekend a bit but it seems that during
closing the document we crash. I'm not sure yet why but will need to spend
a bit more time next weekend in looking at the problem. I don't have time
until Thursday evening to look into the problem.
2) Another query is about debugging the uitest as explained in your blog
https://mmohrhard.wordpress.com/2016/09/10/writing-a-
libreoffice-calc-ui-test/ :
is to run the uitest as shown in this script :
https://cgit.freedesktop.org/libreoffice/contrib/dev-tools/
tree/uitest/execute.sh
I was trying to do that but seems there is no python executable in
instdir/program
in my debug build. Using system python does not seem to work.
For system python you need to set PYTHONPATH and URE_BOOTSTRAP either in
the script or in your terminal. If called through the makefiles our build
system already sets the values correctly.
Regards,
Markus
Context
- calc uitests · Dennis Francis
- Re: calc uitests · Markus Mohrhard
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.