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