Confirmed users
95
edits
(add syntax for Windows w/Mintty) |
(Running locally - added Windows/mozilla-build info) |
||
| Line 94: | Line 94: | ||
* Note: you must first have setuptools installed on your system | * Note: you must first have setuptools installed on your system | ||
* apt-get install python-setuptools # linux | * apt-get install python-setuptools # linux | ||
* Windows with mozilla-build - already included. | |||
* https://pypi.python.org/pypi/setuptools # download and install for all operating systems | * https://pypi.python.org/pypi/setuptools # download and install for all operating systems | ||
* you also need virtualenv installed on your system | * you also need virtualenv installed on your system | ||
* pip install virtualenv # http://www.virtualenv.org/en/latest/virtualenv.html#installation | * pip install virtualenv # http://www.virtualenv.org/en/latest/virtualenv.html#installation | ||
* Windows with mozilla-build - not required. | |||
For the majority of the tests, we include test files and tools out of the box. You will need the [https://developer.mozilla.org/en-US/docs/Simple_Firefox_build mozilla-central code base]: | For the majority of the tests, we include test files and tools out of the box. You will need the [https://developer.mozilla.org/en-US/docs/Simple_Firefox_build mozilla-central code base]: | ||
| Line 104: | Line 106: | ||
hg clone http://hg.mozilla.org/mozilla-central | hg clone http://hg.mozilla.org/mozilla-central | ||
* '''setup talos''' | * '''setup talos (non-Windows)''' | ||
cd mozilla-central/testing/talos | cd mozilla-central/testing/talos | ||
virtualenv . | virtualenv . | ||
. bin/activate (On Windows: Scripts\activate.bat or . Scripts/activate) | . bin/activate (On Windows: Scripts\activate.bat or . Scripts/activate) | ||
python setup.py develop | python setup.py develop | ||
* '''setup talos (Windows with mozilla-build)''' | |||
cd mozilla-central/testing/talos | |||
Python INSTALL.py # only required once or after updating mozilla-build | |||
source Scripts/activate # you can also use '.' (dot) instead of 'source' | |||