QA/TDAI/RegressionRangeInstall
Jump to navigation
Jump to search
First download regression.zip and unzip in the location of your choice (like the Desktop). Then follow the instructions for your platform:
Windows - option 1: Command Prompt
- Install Python 2.6.4
- Install Setup Tools
- Open the Command Prompt program (under Accessories)
- Enter this line into the prompt: path = %PATH%;C:\Python26\Scripts;C:\Python26
- Navigate the the regression folder, if this folder is on your Desktop, you can do this by entering cd Desktop\regression into the prompt.
- Now enter the command: install-windows.bat
- You can now run regression.py from the Command Prompt:
python regression.py -g 2009-03-12 -b 2009-10-14
Note: if you don't want to have to say path = %PATH%;C:\Python26;%PATH%;C:\Python26\Scripts everytime you open the command prompt, you can add C:\Python26\Scripts;C:\Python26 to your Path environment variable through the Control Panel (usually under advanced system settings)
Windows - option 2: Mozilla Build
- Install Mozilla Build. This is a command line utility.
- Run Mozilla Build. this can usually be done by running C:\mozilla-build\start-l10n.bat
- navigate to the unzipped regression folder from this command line, for example: cd Desktop/regression
- execute the install script by running the command:./install-windows.sh
- you can now run regression.py with the command:
python regression.py -g 2009-03-12 -b 2009-10-14
Ubuntu
Run these commands:
sudo apt-get install python-setuptools sudo easy_install mozmill sudo easy_install BeautifulSoup sudo easy_install httplib2
Now, cd into the unzipped regression folder and run the regression script:
python regression.py -g 2009-03-12 -b 2009-10-14