I saw this after I posted, asking about testtool for OSX Intel. ;)

It helps in some ways, but other things I don't understand yet.

On 16/12/2006, at 7:48 AM, NAKATA Maho wrote:

1. Platform
 * MacOSX Intel 2 Japanse version
 * OOo 2.1RC2 Japanese version

OK. That would just be "Vietnamese" for me.

2. How to obtain OS
Come with iMac ;)

MacBook.

3. Update the OS
日本語
* システム環境設定 -> ソフトウェアアップデート
in English
* System Preferences -> Software update

Yes.

4. OS specific settings; disabling screen saver and some tips.

You have to do this to run testtool, or is this your own setting for other purposes?

Also, can you go on using your Mac while testtool is running? (If not, I can run it when I'm not able to use it, so that's not a problem.)

5. Download OOo and install the files.

Yes.

* OOo 2.1RC2
$ ftp ftp://ooopackages.good-day.net/pub/OpenOffice.org/MacOSX/ 2.1.0rc2_20061130/OOo_2.1.0rc2_20061130_MacOSXIntel_install_ja.dmg
* OOo 2.0.3RC7 (for testtool)

I don't know if this version is available for Vietnamese. If not, can I use the build for another language?

$ ftp ftp://ooopackages.good-day.net/pub/OpenOffice.org/MacOSX/ 2.0.3rc7/OOo_2.0.3rc7_MacOSXIntel_ja.dmg
* QA scripts
$ ftp ftp://ftp.ooodev.org/pub/qa/qatesttool_ooo201_20062311.tgz

I have downloaded this package of scripts.

* Verification of MD5SUMs

Just run these from the command line, OK.

* installation
double click OOo_2.1.0rc2_20061130_MacOSXIntel_install_ja.dmg
-> drag and drop to Application folder

OK.

double click dmg ->
OOo_2.0.3rc7_MacOSXIntel_ja.dmg
-> drag and drop to Desktop

OK.

6. Preparation for QA
Due to #i69378#, testtool come with 2.1RC2 doesn't work for MacOSX Intel
http://www.openoffice.org/issues/show_bug.cgi?id=69378
that's why we used testtool from 2.0.3rc7

:(

* preparation for testtool
% cp /Users/maho/Desktop/OpenOffice.org\ 2.0.app/Contents/MacOS/ program/soffice /Users/maho/Desktop/OpenOffice.org\ 2.0.app/ Contents/MacOS/program/testtool

OK.

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

OK.

* 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 @@

Just rename the script?

 # set location of testscripts
 # (the directory, where directory 'qatesttool' exists)
-sLocation=/share/_OOo/cvs/qa
+sLocation=/work/qa

OK.

 # set location of TestTool
 # (full path including executable 'testtool')
-sTestTool="/opt/openoffice.org2.1/program/testtool.bin"
+sTestTool="/Users/maho/Desktop/OpenOffice.org 2.0.app/Contents/ MacOS/program/testtool"

OK.

 # set location of close-office file

I'm a little lost at this point. What do I do with the following text?

 # (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

How do I set the server timeout? Do I need it, running the whole thing on my laptop?

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

Are these the default settings for CrashReporter? If not, how do I set them?

For the following items, do I set them, or does this info describe where they occur anyway?

[_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

7. 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

OK.

8. Summary of the result
http://www.openoffice.org/nonav/issues/showattachment.cgi/41456/ errorlog-MacOSXIntel-OOo21.tar.gz

                      errors  warnings  warning during initialization
------------------------------------------------
b_updt.res                  5      17    0
c_updt.res                  0      1     0
ch_updt.res                 0      0     0
d_updt.res                  0      1     0
f_updt_help.res             0      0     0
f_updt_pkgmgr.res           0      0     0
f_updt_spadmin.res          0      0     0
f_updt_templates.res        0      4     0
f_updt_windowfuncs.res      0      0     0
first.res                   0      0     0
gallery.res                 1      3     0
i_updt_1.res                0      0     0
i_updt_2.res                2      3     0
m_updt.res                  0      1     0
ma_updt.res                 0      0     0
oasis_graphics_update.res   0      0     0
topten.res                  0      0     0
w_updt.res                  0      0     0
ww_updt.res                 0      0     0
xforms_updt.res             0      0     0
------------------------------------------------

-- NAKATA, Maho ([EMAIL PROTECTED])

And we report the results to this list? Nowhere else?

What constitutes a pass in testtool, and what a fail?

I have been uncertain whether a Fail in TCM is a serious matter or not. I have failed the build if it produces any reportable issues. But they have only been very minor issues. Nothing so far that would stop the release.

Thankyou for helping me understand this. :)

from Clytie (vi-VN, Vietnamese free-software translation team / nhóm Việt hóa phần mềm tự do)
http://groups-beta.google.com/group/vi-VN


Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to