Difference between revisions of "VCL testtool MacOSX PPC"

From Apache OpenOffice Wiki
Jump to: navigation, search
Line 2: Line 2:
 
[[Category:MacOSX]]
 
[[Category:MacOSX]]
  
This page is intended to help the MacOSX PPC Panther users to use the Testtool.
+
This page is intended to help the MacOSX PPC Panther users to use the Testtool.<br>
Please, change 'ja' for your ISO language code when needed.
+
Please, change 'ja' for your ISO language code when needed.<br>
Also take into account this info is up to version 2.1.
+
Also take into account this info is up to version 2.1.<br>
  
 
= How to obtain OS =
 
= How to obtain OS =
Usually Panther for PPC Mac will come with your Mac. Or buy at Apple store.
+
Usually Panther for PPC Mac will come with your Mac. Or buy at Apple store.<br>
Disk 3 of OS installation media, you can install X11 from X11.pkg.
+
Disk 3 of OS installation media, you can install X11 from X11.pkg.<br>
See  
+
See <br>
 
http://www.apple.com/jp/articles/tutorial/panther/vol2_3_2.html (in Japanese) sorry I couldn't find
 
http://www.apple.com/jp/articles/tutorial/panther/vol2_3_2.html (in Japanese) sorry I couldn't find
English version.
+
English version.<br>
  
 
= Setup =
 
= Setup =
Line 37: Line 37:
 
$ ftp ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz
 
$ ftp ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz
  
* Verification of MD5SUMs
+
* Verification of MD5SUMs<br>
% md5 OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg qatesttool_ooo201_20062311.tgz
+
% md5 OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg qatesttool_ooo201_20062311.tgz<br>
MD5 (OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg) = c5915722f66a42742e37f41a2d79a566
+
MD5 (OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg) = c5915722f66a42742e37f41a2d79a566<br>
MD5 (qatesttool_ooo201_20062311.tgz) = d43d1ed59ea7bd10330be1276d79c6b1
+
MD5 (qatesttool_ooo201_20062311.tgz) = d43d1ed59ea7bd10330be1276d79c6b1<br>
  
MD5sum of OOo packages:
+
MD5sum of OOo packages:<br>
http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10273
+
http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10273<br>
MD5 sum of qatesttool script:
+
MD5 sum of qatesttool script:<br>
http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328
+
http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328<br>
  
 
== Installation ==
 
== Installation ==
Line 60: Line 60:
  
 
== VCL testtools setting ==
 
== VCL testtools setting ==
(For Japanese only: recognition of IPA font by spadmin
+
(For Japanese only: recognition of IPA font by spadmin<br>
X11 -> X terminal
+
X11 -> X terminal<br>
% /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/spadmin
+
% /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/spadmin<br>
)
+
)<br>
 
* preparation for testtool
 
* preparation for testtool
 
% cp /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/soffice /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/testtool
 
% cp /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/soffice /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/testtool
Line 75: Line 75:
  
 
* apply following patch to ooo_releasetest.sh
 
* apply following patch to ooo_releasetest.sh
 +
<pre>
 
see also: http://www.openoffice.org/issues/show_bug.cgi?id=70761
 
see also: http://www.openoffice.org/issues/show_bug.cgi?id=70761
 
--- ooo_releasetests.sh.org 2006-12-15 09:13:57.000000000 +0900
 
--- ooo_releasetests.sh.org 2006-12-15 09:13:57.000000000 +0900
Line 123: Line 124:
 
                                     sleep 2
 
                                     sleep 2
 
                                     i=$((i+2))
 
                                     i=$((i+2))
 
+
</pre>
 
* Prepare ~/Library/Application\ Support/.testtoolrc  
 
* Prepare ~/Library/Application\ Support/.testtoolrc  
 
+
<pre>
 
[Misc]
 
[Misc]
 
CurrentProfile=_profile_Default
 
CurrentProfile=_profile_Default
Line 158: Line 159:
 
TTPort=12479
 
TTPort=12479
 
UNOPort=13480
 
UNOPort=13480
 +
</pre>
  
 
== Perform QA test ==
 
== Perform QA test ==
Application->X11->Xterm
+
Application->X11->Xterm<br>
$ cd /work/qa/qatesttool/script/unix
+
$ cd /work/qa/qatesttool/script/unix<br>
$ rm -rf ~/Library/Application\ Support/OpenOffice.org\ 2.1 /work/qa/qatesttool/errorlog/*res; bash ooo_releasetests.sh
+
$ rm -rf ~/Library/Application\ Support/OpenOffice.org\ 2.1 /work/qa/qatesttool/errorlog/*res; bash ooo_releasetests.sh<br>
 
   
 
   
 
= Summary =
 
= Summary =
  
Check the result files for errors in /work/qa/qatesttool/errorlog/
+
Check the result files for errors in /work/qa/qatesttool/errorlog/<br>
and upload the *res files to the IssueTracker.
+
and upload the *res files to the IssueTracker.<br>
If any found, try to reproduce manually and file bugs if needed.
+
If any found, try to reproduce manually and file bugs if needed.<br>
  
in Issue http://www.openoffice.org/issues/show_bug.cgi?id=71978
+
in Issue http://www.openoffice.org/issues/show_bug.cgi?id=71978<br>
Attached as
+
Attached as<br>
http://www.openoffice.org/nonav/issues/showattachment.cgi/41530/errorlog-MacOSXPPC-OOo21jaQA.tar.gz
+
http://www.openoffice.org/nonav/issues/showattachment.cgi/41530/errorlog-MacOSXPPC-OOo21jaQA.tar.gz<br>

Revision as of 09:34, 2 June 2009


This page is intended to help the MacOSX PPC Panther 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 Panther for PPC Mac will come with your Mac. Or buy at Apple store.
Disk 3 of OS installation media, you can install X11 from X11.pkg.
See
http://www.apple.com/jp/articles/tutorial/panther/vol2_3_2.html (in Japanese) sorry I couldn't find English version.

Setup

OS installation can be done by pressing C button and insert installation DVD. Please consult manuals come with your Mac. X11.app must also installed.

Update the OS

Please update your OS to the newest one by:

  • System Preferences -> Software update

Some miscellaneous settings

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

  • System Preferences -> Desktop & screen saver -> Screen Saver ->
 Start screen saver -> never
  • System Preferences -> Energy Saver -> Put the computer to sleep

when it is inactive for -> never

  • System Preferences -> Energy Saver -> Put the computer to sleep

Put the display to sheep when the compute is in active for: -> never

Download and install

From Terminal:

  • OOo 2.1RC2

$ ftp ftp://ooopackages.good-day.net/pub/OpenOffice.org/MacOSX/2.1.0rc2_20061130/OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg

  • QA scripts

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

  • Verification of MD5SUMs

% md5 OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg qatesttool_ooo201_20062311.tgz
MD5 (OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg) = c5915722f66a42742e37f41a2d79a566
MD5 (qatesttool_ooo201_20062311.tgz) = d43d1ed59ea7bd10330be1276d79c6b1

MD5sum of OOo packages:
http://www.openoffice.org/servlets/ReadMsg?list=releases&msgNo=10273
MD5 sum of qatesttool script:
http://qa.openoffice.org/servlets/ReadMsg?list=dev&msgNo=7328

Installation

double click OOo_2.1.0rc2_20061130_MacOSXPPC_install_ja.dmg -> drag and drop to Application folder It's done as usual. You may want to follow instruction from official installation guide.
(If wrong, raise an issue!)
however, ou may want to follow instruction from official installation guide.
(If the instruction is wrong, raise an issue!) English
Japanese


VCL testtools setting

(For Japanese only: recognition of IPA font by spadmin
X11 -> X terminal
% /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/spadmin
)

  • preparation for testtool

% cp /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/soffice /Applications/OpenOffice.org\ 2.1.app/Contents/MacOS/program/testtool

sudo mkdir /work

$ sudo chown maho /work $ cd /work $ mkdir qa ; cd qa $ tar xvfz ~/qatesttool_ooo201_20062311.tgz $ cd qa/qatesttool/script/unix

  • apply following patch to ooo_releasetest.sh
see also: http://www.openoffice.org/issues/show_bug.cgi?id=70761
--- ooo_releasetests.sh.org	2006-12-15 09:13:57.000000000 +0900
+++ ooo_releasetests.sh	2006-12-15 09:15:16.000000000 +0900
@@ -44,12 +44,12 @@
 
 # set location of testscripts
 # (the directory, where directory 'qatesttool' exists)
-sLocation=/testtool
+sLocation=/work/qa
 
 
 # set location of TestTool
 # (full path including executable 'testtool')
-sTestTool="/opt/openoffice.org2.0/program/testtool.bin"
+sTestTool="/Applications/OpenOffice.org 2.1.app/Contents/MacOS/program/testtool" 
 
 # set location of close-office file
 # (see cvs)
@@ -101,9 +101,9 @@
         do
                  echo "Running soffices' processes: "
                # kill office, if exists
-                  #killall -9 soffice.bin
-                  pkill -9 soffice.bin
-                ps -fe | grep $USER | grep "soffice.bin" | grep -v "grep"
+                  /usr/bin/killall -9 soffice.bin
+                  #pkill -9 soffice.bin
+                ps -Aj | grep $USER | grep "soffice.bin" | grep -v "grep"
         
                 echo "****************************************************"
                 echo "Will run: " $x
@@ -119,14 +119,14 @@
                         testtoolpid=$!
                         echo "PID of Testtool: " $testtoolpid
 
-                         if ps -p $testtoolpid > /dev/null ; then
+                         if ps -p $testtoolpid | grep $testtoolpid > /dev/null ; then
                             echo " Successfully started"
                          else
                             echo " There might be something wrong with starting the Testtool!"
                          fi
 
                         ######### wait until Testtool has finished & closed
-                         while ps -p $testtoolpid > /dev/null ; 
+                         while ps -p $testtoolpid | grep $testtoolpid > /dev/null ; 
                          do
                                     sleep 2
                                     i=$((i+2))
  • Prepare ~/Library/Application\ Support/.testtoolrc
[Misc]
CurrentProfile=_profile_Default
ServerTimeout=4500

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

[_profile_Default]
BaseDir=/work/qa/qatesttool
LogBaseDir=/work/qa/qatesttool/errorlog/
StopOnSyntaxError=0
HIDDir=/work/qa/qatesttool/global/hid
*.bas=/work/qa/qatesttool/framework/first

[GUI Platform]
Current=12

[WinGeom]
WinParams=0,44,920,630;1;0,0,0,0;

[OooProgramDir]
Current=/Applications/OpenOffice.org 2.1.app/Contents/MacOS/program
All=/Applications/OpenOffice.org 2.1.app/Contents/MacOS/program

[Communication]
Host=localhost
TTPort=12479
UNOPort=13480

Perform QA test

Application->X11->Xterm
$ cd /work/qa/qatesttool/script/unix
$ rm -rf ~/Library/Application\ Support/OpenOffice.org\ 2.1 /work/qa/qatesttool/errorlog/*res; bash ooo_releasetests.sh

Summary

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

in Issue http://www.openoffice.org/issues/show_bug.cgi?id=71978
Attached as
http://www.openoffice.org/nonav/issues/showattachment.cgi/41530/errorlog-MacOSXPPC-OOo21jaQA.tar.gz

Personal tools