Mobile/Build/Maemo Running Talos

From MozillaWiki
Jump to navigation Jump to search

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

Remember that on the n810, space is tight. You may have to uncompress the distribution somewhere off the device, then scp it to your device. Or you can just go buy a 8gb card.

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:

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