Product: QA
Type: new
Title: TestTool: Custom defined timeouts for starting/closing OOo
Posted by: [EMAIL PROTECTED]
Affected: qa/qatesttool/global
Effective from: 06.11.2006
*Flags*
-------
API/ BASIC [ ]
Configuration [ ]
File format change [ ]
Help/ Guide [ ]
Performance test [ ]
Translation [ ]
UI relevant [ ]
*Description*
-------------
Reason for this change: For some special tasks it is needed to give
OOo some more time for starting up or shutting down;
If you don't perform such special tasks, you don't need to do something.
E.g. a OOo code coverage build writes data on every shutdown of the
office,
which could last several minutes until the OOo process is realy vanished;
To find memory leaks the valgrind tools are used, there the startup of OOo
needs several minutes until OOo is useable.
If the wait time is to small, OOo is either not completely up -> the
test would end because of failing commands
or on shutdown, the next test would start OOo, but it hasn't left
memory jet, there you
get ugly errors, too.
You can define these times in the TestTool application at:
Extra->Settings->Generic->Area - create the entries:
'OOoStartupTimeOut' which will be put into global variable
gOOoStartupTimeOut
'OOoShutdownTimeOut' which will be put into global variable
gOOoShutdownTimeOut
The unit of the value is seconds.
The values are added to the already existing values.
If the entries don't exist, a value of 0 is used.
Recommended values for special tasks:
gcov/code coverage: OOoStartupTimeOut:0 ; OOoShutdownTimeOut:290
valgrind: OOoStartupTimeOut:420 ; OOoShutdownTimeOut:90
The functions which read the values from the TestTool configuration are
qa/qatesttool/global/system/inc/iniinfo.inc:: fgetOOoStartupTimeOut
and fgetOOoShutdownTimeOut
which write in new global variables: gOOoShutdownTimeOut and
gOOoStartupTimeOut
All existing functions in qa/qatesttool/global/ are updated to use
these values.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]