QA/TDAI/RegressionRangeInstall: Difference between revisions
Jump to navigation
Jump to search
(→Mac) |
No edit summary |
||
Line 40: | Line 40: | ||
* <tt>cd</tt> into the unzipped <tt>regression</tt> folder and run the regression range finder with the command line: | * <tt>cd</tt> into the unzipped <tt>regression</tt> folder and run the regression range finder with the command line: | ||
<pre>python regression.py -g 2009-12-01 -b 2010-01-16</pre> | <pre>python regression.py -g 2009-12-01 -b 2010-01-16</pre> | ||
=Windows Option 2 - Command Prompt= | |||
First download [http://mozregression.googlecode.com/files/regression.zip 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= | |||
* Download [http://github.com/downloads/harthur/mozregression/mozregression.zip mozregression.zip] and unzip in the location of your choice (like the Desktop). | |||
* [http://www.python.org/ftp/python/2.6.4/python-2.6.4.msi Install Python 2.6.4] | |||
* [http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.6.exe/download Install PyWin32] | |||
* [http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11.win32-py2.6.exe#md5=1509752c3c2e64b5d0f9589aafe053dc Install Setup Tools] | |||
* Open the Command Prompt program (under Accessories) | |||
* Enter this line into the prompt: <tt>path = %PATH%;C:\Python26\Scripts;C:\Python26</tt> | |||
* Navigate the the regression folder, if this folder is on your Desktop, you can do this by entering <tt>cd Desktop\mozregression</tt> into the prompt. | |||
* Now enter the command: <tt>install-windows.bat</tt> | |||
* You can now run regression.py from the Command Prompt: | |||
<pre>python regression.py -g 2009-03-12 -b 2009-10-14</pre> | |||
Note: if you don't want to have to say <tt>path = %PATH%;C:\Python26;%PATH%;C:\Python26\Scripts</tt> everytime you open the command prompt, you can add <tt>C:\Python26\Scripts;C:\Python26</tt> to your <tt>Path</tt> environment variable through the Control Panel (usually under advanced system settings) |
Revision as of 19:40, 31 March 2010
Windows
- Download regression.zip and unzip in the location of your choice (like the Desktop).
- 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 from this directory by running the command:
./install-windows.sh
- you can now run the regression range finder with the command line:
python regression.py -g 2009-12-01 -b 2010-01-16
Ubuntu
- Download mozregression and unzip in the location of your choice (like the Desktop).
- Run these commands:
sudo apt-get install python-setuptools sudo easy_install mozmill sudo easy_install BeautifulSoup sudo easy_install httplib2
- you can now run the regression range finder with the command line:
python regression.py -g 2009-12-01 -b 2010-01-16
Mac
- Download mozregression.zip and unzip in the location of your choice (like the Desktop).
- Run these commands in the terminal:
curl -O http://peak.telecommunity.com/dist/ez_setup.py python ez_setup.py sudo easy_install mozmill sudo easy_install BeautifulSoup sudo easy_install httplib2
- cd into the unzipped regression folder and run the regression range finder with the command line:
python regression.py -g 2009-12-01 -b 2010-01-16
Windows Option 2 - Command Prompt
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
- Download mozregression.zip and unzip in the location of your choice (like the Desktop).
- Install Python 2.6.4
- Install PyWin32
- 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\mozregression 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)