Buildbot/Talos/Misc: Difference between revisions

m
Line 54: Line 54:
** Add tpmozafterpaint and set it to 'True' by default, or 'False' if your test does other internal measurements unrelated to rendering a page  
** Add tpmozafterpaint and set it to 'True' by default, or 'False' if your test does other internal measurements unrelated to rendering a page  
** Add an item for filters. ([[https://dxr.mozilla.org/mozilla-central/source/testing/talos/talos/test.py#212 tresize example]])
** Add an item for filters. ([[https://dxr.mozilla.org/mozilla-central/source/testing/talos/talos/test.py#212 tresize example]])
== Pre/Post processing scripts ==
There are many needs to setup and cleanup a test. We do this with the xperf toolchain as we need to turn on collecting before the test and process the collecting after the test. To support this we have added [https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/xperf.config#l20 setup] and [https://hg.mozilla.org/build/talos/file/fa16dd258bb1/talos/xperf.config#l21 cleanup] commands to the test definition.
Setup and cleanup act as python scripts and will take the full command.  These will run prior to launching the browser and right after launching the browser.


== Steps to add a test to production ==
== Steps to add a test to production ==
Confirmed users
3,376

edits