• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Skia Recipes
2============
3
4These are the top-level scripts which run inside of Swarming tasks to perform
5all of Skia's automated testing.
6
7To run a recipe locally:
8
9	$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...
10
11Each recipe may have its own required properties which must be entered as
12key/value pairs in the command.
13
14When you change a recipe, you generally need to re-train the simulation test:
15
16	$ python infra/bots/recipes.py test train
17
18Or:
19
20        $ cd infra/bots; make train
21
22The test generates expectations files for the tests contained within each
23recipe which illustrate which steps would run, given a particular set of inputs.
24Pay attention to the diffs in these files when making changes to ensure that
25your change has the intended effect.
26