Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | installationtest.mk: allow override of tested soffice process | ||||||
---|---|---|---|---|---|---|---|
Product: | Build Tools | Reporter: | Stephan Bergmann <stephan.bergmann.secondary> | ||||
Component: | code | Assignee: | Stephan Bergmann <stephan.bergmann.secondary> | ||||
Status: | CLOSED FIXED | QA Contact: | issues@tools <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | IngridvdM, issues | ||||
Version: | DEV300m77 | ||||||
Target Milestone: | OOo 3.3 | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | ENHANCEMENT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
Stephan Bergmann
2010-05-12 16:31:20 UTC
Created attachment 69436 [details]
implementation
The attached DEV300_m77-ooo_test_soffice.patch would solve this, and reportedly works as desired on Linux (sb) and Windows (iha). adapted DEV300_m77-ooo_test_soffice.patch applied as <http://hg.services.openoffice.org/cws/sb120/rev/7c3dbf1f2f9f> verified on unxsoli4; both smoketestoo_native (C++ based) and configmgr/qa/unoapi (Java based) work with OOO_TEST_SOFFICE=path:... and OOO_TEST_SOFFICE=connect:... Documentation: The OOO_TEST_SOFFICE environment variable can be used to override which soffice executable is used by the tests based on solenv/inc/installationtest.mk (smoketestoo_native, */qa/unoapi, ...). When set as OOO_TEST_SOFFICE=path:<full pathname of soffice executable> the tests do not use the soffice executable from the solver installation (installed there by smoketestoo_native), but instead the specified one. The argument must be the complete, platform native pathname of the soffice executable (i.e., on Unix it must end in ".../soffice" and on Windows in ".../soffice.exe"; on Windows it must not be a Cygwin-style "/cygdrive/..." path). The tests still start that soffice executable with a temporary user installation, and still terminate it when finished testing. When set as OOO_TEST_SOFFICE=connect:<URP connection description> the tests do not start an soffice executable at all, but instead try to connect to one via the given URP connection. The argument must be the connection string without the trailing ";urp" (e.g., "socket,host=localhost,port=12345" or "pipe,name=foo"). The tests still try to terminate the connected soffice process when finished (via com.sun.star.frame.XDesktop.terminate), but no longer notice if the soffice process crashes during termination (i.e., the tests do not wait on the soffice process). (When OOO_TEST_SOFFICE is set while building smoketestoo_native, the OOo solver installation is still created, even though it is not used for the current test. On Windows, when OOO_TEST_SOFFICE is set, no temporary OOo installation is unpacked by any of the tests.) ... additional quoting fix <http://hg.services.openoffice.org/cws/sb120/rev/d92652211cf0> . |