Mobile/Build/Maemo Running Talos: Difference between revisions

From MozillaWiki
< Mobile‎ | Build
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
== Set up ==
== Set up ==


Line 6: Line 5:
2) Copy talos to /media/mmc2/talos   
2) Copy talos to /media/mmc2/talos   


3) As root, start nginx as:  /usr/sbin/nginx
3) Make sure that that configure file points to the right places.  The important pieces are:
 
firefox:  /root/fennec/fennec
process_name: fennec
extra_args: ""
 
4) As root, start nginx as:  /usr/sbin/nginx


4) Create a link to the talos page set in /var/www:
5) Create a link to the talos page set in /var/www:


ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test
ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test


5) run talos.
6) run talos.


python2.5 run_tests.py sample.config


== Known Issues ==
== Known Issues ==

Revision as of 04:24, 8 May 2008

Set up

1) Install the Nginx web server from [1]. I choose Nginx because there is a precompiled version available. If we find that this does not work, we probably can cross-compile apache or lighttpd for testing purposes.

2) Copy talos to /media/mmc2/talos

3) Make sure that that configure file points to the right places. The important pieces are:

firefox: /root/fennec/fennec process_name: fennec extra_args: ""

4) As root, start nginx as: /usr/sbin/nginx

5) Create a link to the talos page set in /var/www:

ln -s /media/mmc2/talos/page_load_test/ /var/www/page_load_test

6) run talos.

python2.5 run_tests.py sample.config

Known Issues

Note that you must use the [patch https://bugzilla.mozilla.org/show_bug.cgi?id=426444]. Soon this should just be part of the standard talos install.

I have found that I needed to increase the |sleep| time to 60 in various places in the talos source. Doing a search for "sleep", you will find a few places. We need to identify which places are requirement and what the smallest value is. See [bug https://bugzilla.mozilla.org/show_bug.cgi?id=432764]

It takes a LONG time.