tree: 423900a675dde956eeb5d074305407f668c241f6
  1. compile.expected/
  2. housekeeper.expected/
  3. infra.expected/
  4. perf.expected/
  5. perf_skottietrace.expected/
  6. perf_skottiewasm_lottieweb.expected/
  7. sync_and_compile.expected/
  8. test.expected/
  9. test_canvaskit.expected/
  10. test_lottie_web.expected/
  11. compile.py
  12. housekeeper.py
  13. infra.py
  14. perf.py
  15. perf_skottietrace.py
  16. perf_skottiewasm_lottieweb.py
  17. README.md
  18. sync_and_compile.py
  19. test.py
  20. test_canvaskit.py
  21. test_lottie_web.py
infra/bots/recipes/README.md

Skia Recipes

These are the top-level scripts which run inside of Swarming tasks to perform all of Skia's automated testing.

To run a recipe locally:

$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...

Each recipe may have its own required properties which must be entered as key/value pairs in the command.

When you change a recipe, you generally need to re-train the simulation test:

$ python infra/bots/recipes.py test train

Or:

    $ cd infra/bots; make train

The test generates expectations files for the tests contained within each recipe which illustrate which steps would run, given a particular set of inputs. Pay attention to the diffs in these files when making changes to ensure that your change has the intended effect.