tree: 061b299ee92e1006ac752d8e463ea8c37c4db680 [path history] [tgz]
  1. android_compile.expected/
  2. bookmaker.expected/
  3. bundle_recipes.expected/
  4. calmbench.expected/
  5. check_generated_files.expected/
  6. compile.expected/
  7. ct_skps.expected/
  8. housekeeper.expected/
  9. infra.expected/
  10. perf.expected/
  11. recreate_skps.expected/
  12. skpbench.expected/
  13. skqp_test.expected/
  14. test.expected/
  15. update_meta_config.expected/
  16. upload_calmbench_results.expected/
  17. upload_coverage_results.expected/
  18. upload_dm_results.expected/
  19. upload_nano_results.expected/
  20. upload_skiaserve.expected/
  21. android_compile.py
  22. bookmaker.py
  23. bundle_recipes.py
  24. calmbench.py
  25. check_generated_files.py
  26. compile.py
  27. ct_skps.py
  28. housekeeper.py
  29. infra.py
  30. perf.py
  31. README.md
  32. recreate_skps.py
  33. skpbench.py
  34. skqp_test.py
  35. test.py
  36. update_meta_config.py
  37. upload_calmbench_results.py
  38. upload_coverage_results.py
  39. upload_dm_results.py
  40. upload_nano_results.py
  41. upload_skiaserve.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.