tree: d427c5f4c1abfa8e37c69537c4aa71e93ff94637 [path history] [tgz]
  1. bundle_recipes.expected/
  2. compile.expected/
  3. ct_skps.expected/
  4. housekeeper.expected/
  5. infra.expected/
  6. perf.expected/
  7. recreate_skps.expected/
  8. skpbench.expected/
  9. test.expected/
  10. update_meta_config.expected/
  11. upload_dm_results.expected/
  12. upload_nano_results.expected/
  13. bundle_recipes.py
  14. compile.py
  15. ct_skps.py
  16. housekeeper.py
  17. infra.py
  18. perf.py
  19. README.md
  20. recreate_skps.py
  21. skpbench.py
  22. test.py
  23. update_meta_config.py
  24. upload_dm_results.py
  25. upload_nano_results.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 run --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.