GSOC More and Better tests update

Adam Seskunas adamseskunas at gmail.com
Wed Jul 17 04:06:05 UTC 2024


Hello,

As mentioned in the last update, I was working on creating the test documents from scratch for test found here

https://gerrit.libreoffice.org/c/core/+/170169 <https://gerrit.libreoffice.org/c/core/+/170169>

Unfortunately I wasn’t able to succeed. The test depends on a table inserted into a footnote, which then causes an infinite loop when the document is imported into LO. As commented on in the bug report, inserting a table into a footnote is greyed out in the UI, and so it wasn’t possible to even see if that was the only dependency in the test file. After trying several different methods of creating tables, footnotes and trying different methods of inserting tables into the footnotes, I couldn’t reproduce the bug. So in the interest of time, I’m leaving the test as is, using the test document.

Next up is tdf#157482, which I’ve finished writing the test for, it can be found here

https://gerrit.libreoffice.org/c/core/+/170535 <https://gerrit.libreoffice.org/c/core/+/170535>

The test is written in Python, since its a pure UI test. Everything seems to working ok, so hopefully I can get it to pass CI with minor changes.

While working on the tests last week, I started to get some strange compile errors that I have never encountered before. During my weekly meeting with Xisco and Hossein, they pointed out that the problem was with Gallery, but we were unable to solve the issue during the meeting. After trying to resolve the issue for some time, I found the —with-galleries=no flag for autopen.input, which at least let me compile. I’m still unable to run any instance of LO from the command line or the package installed from my operating system(Fedora). 

Today, I bit the bullet, created a new user, and built a new repository and everything works, which is a great relief. At some point I will go through the configurations to see if I can get my old repos to work again. For now, the plan is to keep writing tests, the next two in mind are 

https://bugs.documentfoundation.org/show_bug.cgi?id=157484 <https://bugs.documentfoundation.org/show_bug.cgi?id=157484>
https://bugs.documentfoundation.org/show_bug.cgi?id=85769 <https://bugs.documentfoundation.org/show_bug.cgi?id=85769>

That’s it for this week, until next week,
Adam Seskunas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20240716/ede6bebb/attachment.htm>


More information about the LibreOffice mailing list