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


On 04/11/2012 02:17 PM, Lubos Lunak wrote:
On Wednesday 11 of April 2012, Stephan Bergmann wrote:
However, I guess the mechanisms to create a LO installation against
which to run the tests (which was always handled slightly differently on
Windows, to avoid problems with long pathnames) has been broken with the
various changes how to create that LO installation in general (ooinstall).

  So it can work, it's just "slightly" broken somewhere at the moment? If
that's so, could somebody who understands this stuff have a look?

There's two points to this: Originally, the installation against which the tests run had been produced in a two-step process. First, building instsetoo_native always produced a tgz (or zip, on Windows) archive installation set in addition to what else it was requested to build (rpm, deb, etc.). Second, depending on platform: On non-Windows, building smoketestoo_native unpacked the archive installation set to solver/*/installation once, so that all tests could use it from there. On Windows, running each individual test unpacked the archive installation set into a temp directory (and removed it afterwards).

Today, this has been changed completely, with the installation set being built and put into place in one step through ooinstall. So for Windows to work again, first ooinstall needs to be fixed to work on Windows (my understanding is that it does not). Second, as long as long pathnames on Windows are still an issue (and my understanding is that they are, at least for our interaction with the berkeleydb library), it would be advantageous to mimic the original logic, like running ooinstall not once but for each test, instructing it to output into a temp directory.

Stephan

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.