tree: 0352ee8f5f358e58138305718c6b1cc0aa634959 [path history] [tgz]
  1. check_generated_files.expected/
  2. compile.expected/
  3. compute_buildstats.expected/
  4. housekeeper.expected/
  5. infra.expected/
  6. perf.expected/
  7. perf_pathkit.expected/
  8. perf_skottietrace.expected/
  9. perf_skottiewasm_lottieweb.expected/
  10. skpbench.expected/
  11. sync_and_compile.expected/
  12. test.expected/
  13. test_canvaskit.expected/
  14. test_lottie_web.expected/
  15. test_pathkit.expected/
  16. upload_buildstats_results.expected/
  17. upload_dm_results.expected/
  18. upload_nano_results.expected/
  19. check_generated_files.py
  20. compile.py
  21. compute_buildstats.py
  22. housekeeper.py
  23. infra.py
  24. perf.py
  25. perf_pathkit.py
  26. perf_skottietrace.py
  27. perf_skottiewasm_lottieweb.py
  28. README.md
  29. skpbench.py
  30. sync_and_compile.py
  31. test.py
  32. test_canvaskit.py
  33. test_lottie_web.py
  34. test_pathkit.py
  35. upload_buildstats_results.py
  36. upload_dm_results.py
  37. upload_nano_results.py
third_party/skia/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.