VCL testtool MacOSX PPC

From Apache OpenOffice Wiki
Revision as of 02:54, 12 January 2007 by Maho (Talk | contribs)

Jump to: navigation, search


This page is intended to help the MacOSX PPC Tiger users to use the Testtool. Please, change 'ja' for your ISO language code when needed. Also take into account this info is up to version 2.1.

How to obtain OS

Usually Tiger for PPC will come with new Mac G4/G5, and you can buy it. I assume you are using Tiger with your MacOSX.

Setup

As the releases tests takes about 15 hours and use the mouse, keyboard or an OpenOffice.org instance can't be used, most people would prefer an alternative way to running the tests in the main box. The common method for Windows is:

Installation of the OS

Please consult the manual

Update the OS

  • Activation.
  • via Windows update, updated to up to date Windows XP SP2.

Some miscellaneous settings

We should not move mouse during this test. Screensaver is also harmful, activate sleep mode is very harmful.

  • Show all files and folders.
o Translated from Japanese (may be wrong :)
 Explorer->Tool->Folder option ->show ->files and folders->
 Not show extension that is registered.
  • Show the extensions even they are registrated
o Translated from Japanese (may be wrong :)
 Explorer->Tool->Folder option ->show ->files and folers->
 check Show All files and folders
  • Screen saver has been disabled.
o Translated from Japanese (may be wrong :)
 Control Panel -> Display -> Choose Screen saver->
 ->Screen saver ->(none)
  • Energy saving
All set to (none)

Download and install

  • OOo 2.1RC2

http://oootranslation.services.openoffice.org/pub/OpenOffice.org/2.1.0rc2/OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe

  • QA tool

ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz

Verification of MD5 sums

You might to download a MD5 sum checktool from [1] and to install it.

  • run a MD5 check against the downloaded file
md5sum OOo_2.1.0rc2_20061130_Win32Intel_install_ja_wJRE.exe
  • check the MD5 sum
compare with the one from [2]
  • Check the qatesttool_ooo201_20062311.tgz MD5 sum
compare with the one from [3]
% md5sum qatesttool_ooo201_20062311.tgz
d43d1ed59ea7bd10330be1276d79c6b1  qatesttool_ooo201_20062311.tgz

Installation

It's done as usual. You may want to follow instruction from official installation guide.
(If wrong, raise an issue!)
English
Japanese

QA tools

  • C:\Document and Settings\<User Name>\Application Data\testtool.ini has been created like following:
[Misc]
ServerTimeout=100000
StopOnSyntaxError=0
AutoReload=0
AutoSave=0
CurrentProfile=_profile_testtool
ScriptFontName=Courier
ScriptFontStyle=normal
ScriptFontSize=12

[Path]
BaseDir=
LogBaseDir=
HIDDir=

[GUI Platform]
Current=501
All=501

[WinGeom]
WinParams=228,124,802,620;1;0,0,0,0;

[OooProgramDir]
Current=C:\Program Files\OpenOffice.org 2.1
All=C:\Program Files\OpenOffice.org 2.1

[_profile_testtool]
LogBaseDir=C:\work\qa\qatesttool\errorlog
BaseDir=C:\work\qa\qatesttool
HIDDir=C:\work\qa\qatesttool\global\hid
AutoReload=0
AutoSave=0
StopOnSyntaxError=0
*.bas=C:\work\qa\qatesttool\framework\first

[LRU]
MaxLRU=4
LRU1=C:\work\qa\qatesttool\framework\first\first.bas

[Communication]
Host=localhost
TTPort=12479
UnoPort=10241

[Crashreporter]
UseProxy=false
ProxyServer=none
ProxyPort=8080
AllowContact=false
ReturnAddress=

[Misc]
ServerTimeout=4500
StopOnSyntaxError=0
AutoReload=0
AutoSave=0
CurrentProfile=_profile_testtool
ScriptFontName=Courier
ScriptFontStyle=normal
ScriptFontSize=12
  • Extract qatesttool_ooo201_20062311.tgz at C:\work\qa so that tree become:
C:\work\work\qa\testtool ... 
  • Apply following patch for ooo_releasetests.bat

C:\work\qa\qatesttool\script\win32\ooo_relesetests.bat

--- qa/qatesttool/script/win32/ooo_releasetests.bat        Mon Oct 16 20:22:45 2006
+++ qa/qatesttool/script/win32/ooo_releasetests.bat        Sun May 28 19:34:33 2006
@@ -59,10 +59,10 @@

 rem set location of TestTool
 rem (full path including executable 'testtool')
-set tool="C:\qatesttool\bin\win32\testtool.exe"
+set tool="C:\Program Files\OpenOffice.org 2.1\program\testtool.exe"

 rem set path to directory which contains directory 'qatesttool'
-set work="C:\qatesttool\scripts"
+set work="C:\work\qa"

 %tool% -run %work%\qatesttool\framework\first\first.bas
 %tool% -run %work%\qatesttool\global\tools\closeoffice.bas

QAtest

  • Make sure that quick start is not active (you can verify by no seagull small icon at the right bottom of your screen)
  • removed C:\work\qa\qatesttool\errorlogs\*res (if present)
  • removed C:\Document and Settings\<UserName>\Application Data\OpenOffice.org2 (if present)
  • Double click C:\work\qa\qatesttool\script\win32\ooo_releasetests.bat

I recived following message from Windows XP:

Important warning of Windows Security.
To protect this computer, Windows firewall blocks some
functions. Do you block this program?
Name(N): OpenOffice.org 2.1
Producer(P): OpenOffice.org

I ignored this massage...during test.

Summary

Check the result files for errors and upload the *res files to the IssueTracker. If any found, try to reproduce manually and file bugs if needed.

Note

Please see http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7469 for original.

Personal tools