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