Buildbot/Talos/Running: Difference between revisions

Jump to navigation Jump to search
→‎Running locally - Source Code: - small cleanup for tart test
m (→‎The Test Machines: - update information about machines we run on)
(→‎Running locally - Source Code: - small cleanup for tart test)
Line 126: Line 126:


* '''run tests:'''
* '''run tests:'''
  talos -n -d --develop --executablePath pathtofirefox --activeTests ts --output ts_desktop.yml
  talos -n -d --develop --executablePath pathtofirefox --activeTests tart
  # Note: this will open and close the browser real fast 21 times
  # Note: this will open and close the browser real fast for the warmup, then run teh test
** --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 pathtofirefox 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 pathtofirefox 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 tart test .
** --output is the new config file we want to generate
** --output is the new config file we want to generate
You can use `talos --help` to get a complete list of options
You can use `talos --help` to get a complete list of options
Line 142: Line 142:


We do not include the tp5 or similar pagesets for legal restrictions.
We do not include the tp5 or similar pagesets for legal restrictions.
Talos will refuse to run if you have an open browser.
If you want to load an extension while running Talos, you want a few more command line arguments:
  talos -n -d --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
* --addonID is the ID of the addon to install


== How Talos is Run in Production ==
== How Talos is Run in Production ==
Confirmed users
3,376

edits

Navigation menu