[Libreoffice] Running smoketest module standalone.

Caolán McNamara caolanm at redhat.com
Tue Jul 12 03:57:06 PDT 2011


On Tue, 2011-07-12 at 18:51 +0800, Yifan Jiang wrote:
> Hello all,
> 
> I was working on extracting smoketestoo_native module out of the build system,
> to investigate the possibility running it with Libreoffice binary build. So
> that we could allow QA to run this quick test for a basic level of smoke
> testing with a released or pre-released build.

You could try...
a) just grabbing the smoketest.sxw itself out of a build and manually
open it and click "run" after turning off macro protection. You don't
need any infrastructure to do that
b) extract out the logic that sets up a temp user dir with macro
protection already turned off in the settings and hack around passing
that to your installed set so that you can leave out clicking the "turn
off macro protection" step and dig out the command line invocation to
open and automatically run the macro in the smoketest.sxw without manual
intervention.

a is super fast to do.

C.



More information about the LibreOffice mailing list