QA/TDAI/RegressionRangeInstall: Difference between revisions

From MozillaWiki
< QA‎ | TDAI
Jump to navigation Jump to search
No edit summary
Line 1: Line 1:
=Windows=
=Windows - option 1: Command Prompt=
* [http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi Install Python 2.5.4]
* [http://www.python.org/ftp/python/2.5.4/python-2.5.4.msi Install Python 2.5.4]
* [http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.5.exe/downloadInstall Install PyWin32]
* [http://sourceforge.net/projects/pywin32/files/pywin32/Build%20214/pywin32-214.win32-py2.5.exe/downloadInstall Install PyWin32]
Line 9: Line 9:
* Now you are ready to use the regression script. Try entering this into the prompt:
* Now you are ready to use the regression script. Try entering this into the prompt:
<pre>python regression.py -g 2009-03-12 -b 2009-10-14</pre>
<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:\Python25\Scripts</tt> everytime you open the command prompt, you can add <tt>C:\Python25\Scripts</tt> to your <tt>Path</tt> environment variable through the Control Panel (usually under advanced system settings)
=Windows - option 2: Mozilla Build=
* [http://ftp.mozilla.org/pub/mozilla.org/mozilla/libraries/win32/MozillaBuildSetup-1.4.exe Install Mozilla Build]. This is a command line utility.
* Open Mozilla Build. this can usually be done by running C:\mozilla-build\start-l10n.bat
*


=Ubuntu=
=Ubuntu=

Revision as of 21:25, 23 November 2009

Windows - option 1: Command Prompt

  • Install Python 2.5.4
  • Install PyWin32
  • Install Setup Tools
  • Open the Command Prompt program (under Accessories)
  • Enter this line into the prompt: path = %PATH%;C:\Python25\Scripts
  • 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.bat
  • Now you are ready to use the regression script. Try entering this into the 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:\Python25\Scripts everytime you open the command prompt, you can add C:\Python25\Scripts to your Path environment variable through the Control Panel (usually under advanced system settings)

Windows - option 2: Mozilla Build

  • Open Mozilla Build. this can usually be done by running C:\mozilla-build\start-l10n.bat

Ubuntu

Run these commands:

sudo apt-get install python-setuptools
easy_install mozmill
easy_install BeautifulSoup
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