Buildbot/Talos: Difference between revisions

Line 864: Line 864:
** alternatively you can use the --develop flag to PerfConfigurator which configures to use a python webserver, [https://github.com/mozilla/mozbase/tree/master/mozhttpd mozhttpd], as shown below
** alternatively you can use the --develop flag to PerfConfigurator which configures to use a python webserver, [https://github.com/mozilla/mozbase/tree/master/mozhttpd mozhttpd], as shown below
* '''generate a config script:'''
* '''generate a config script:'''
  PerfConfigurator --develop --executablePath `which firefox` --activeTests ts --results_url ts.txt --output ts_desktop.yml --mozAfterPaint
  PerfConfigurator --develop --executablePath "firefox path" --activeTests ts --results_url ts.txt --output ts_desktop.yml --mozAfterPaint
** --develop indicates to run in develop mode and to set up a webserver for you
** --develop indicates to run in develop mode and to set up a webserver for you
** --executablePath tells Talos where the firefox installation we want to run is located
** --executablePath tells Talos where the firefox installation we want to run is located
*** we have `which firefox` as an example, you can use '~/mozilla/objdir/dist/bin/firefox' or whatever the full path is to your firefox executable that will be running the tests.
*** we have "firefox path" as an example, you can use '~/mozilla/objdir/dist/bin/firefox' or whatever the full path is to your firefox executable that will be running the tests.
** --activeTests is a list of tests we want to run separated by ':'.  In this example, we are running the startup test, ts.
** --activeTests is a list of tests we want to run separated by ':'.  In this example, we are running the startup test, ts.
** --results_url indicates a HTTP URL to POST results to or a file to append to  
** --results_url indicates a HTTP URL to POST results to or a file to append to  
** --output is the new config file we want to generate</li>
** --output is the new config file we want to generate
You can use PerfConfigurator --help to get a complete list of options
You can use PerfConfigurator --help to get a complete list of options
* '''run tests'''
* '''run tests'''
Line 883: Line 883:
If you want to load an extension while running Talos, you want a few more command line arguments:
If you want to load an extension while running Talos, you want a few more command line arguments:


   PerfConfigurator--executablePath=../firefox/firefox --sampleConfig=sample.config --activeTests=ts --extension=mozmill-1.5.2-sb+tb+fx+sm.xpi --addonID=mozmill@mozilla.com --output=my.config</pre>
   PerfConfigurator --executablePath=../firefox/firefox --sampleConfig=sample.config --activeTests=ts --extension=mozmill-1.5.2-sb+tb+fx+sm.xpi --addonID=mozmill@mozilla.com --output=my.config


* --extension is the file of the XPI we want to install in the profile
* --extension is the file of the XPI we want to install in the profile
Confirmed users
64

edits