StandaloneTalos: Difference between revisions

Line 43: Line 43:
* includes a small, distributable page set for page load time testing
* includes a small, distributable page set for page load time testing


= How to set up Talos for testing at home =
= How to set up Talos for testing at home =


== Prerequisites ==
== Prerequisites ==
# [http://www.python.org/download/releases/2.5/ Python 2.5]
# [http://pyyaml.org/ Pyyaml]
# [http://sourceforge.net/project/showfiles.php?group_id=78018 PyWin32 Extensions] (if this is to be run on a windows box)
# [http://people.mozilla.org/~anodelman/standaloneV1_6.zip Standalone V1.6]
# [http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Nightly firefox builds] (grab the appropriate type for your OS)


[dmandelin] When I installed PyWin32 the installer put things in my Windows installation of Python, not my mozilla-build copy. I copied the PyWin32 files from the one site-packages directory to the other and it worked.
#[http://www.python.org/download/releases/2.5/ Python 2.5]  
#[http://pyyaml.org/ Pyyaml]
#[http://sourceforge.net/project/showfiles.php?group_id=78018 PyWin32 Extensions] (if this is to be run on a windows box)
#[http://people.mozilla.org/~anodelman/standaloneV1_6.zip Standalone V1.6]
#[http://stage.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/ Nightly firefox builds] (grab the appropriate type for your OS)


== Set Up ==
[dmandelin] When I installed PyWin32 the installer put things in my Windows installation of Python, not my mozilla-build copy. I copied the PyWin32 files from the one site-packages directory to the other and it worked.
# unzip standaloneV1_6.zip
# unzip/install your nightly firefox build
# in the talos directory
#* edit sample.config, change the path to firefox to be the appropriate path to the firefox executable of the nightly build that you just installed


== Testing ==
== Set Up  ==
# in the talos directory run 'python run_tests.py sample.config'
#* for more ouput run 'python run_tests.py --noisy sample.config'
#* for debug output run 'python run_tests.py --debug sample.config'


== Results ==
#unzip standaloneV1_6.zip
# results from all the tests should be found in talos/output directory.
#unzip/install your nightly firefox build
#in the talos directory  
#*edit sample.config, change the path to firefox to be the appropriate path to the firefox executable of the nightly build that you just installed


(On a MacBook Pro, the default test configuration takes about 35 minutes to run with a nightly Firefox 3 build.)
== Testing  ==
 
#in the talos directory run 'python run_tests.py sample.config'
#*for more ouput run 'python run_tests.py --noisy sample.config'
#*for debug output run 'python run_tests.py --debug sample.config'
 
== Results  ==
 
#results from all the tests should be found in talos/output directory.
 
(On a MacBook Pro, the default test configuration takes about 35 minutes to run with a nightly Firefox 3 build.)  
 
== N900 notes ==
 
* Python does not get installed on your N900 by default.
** Add "deb http://repository.maemo.org/extras/ freemantle free non-free" to your /etc/apt/sources.list file
** "apt-get upgrade"
** "apt-get install python"
* You will need to download [http://pyyaml.org/ Pyyaml] and run "python setup.py install"
101

edits