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