tree: 2445b790e22ed31384062cc8f704a2bac79f2003 [path history] [tgz]
  1. android_compile.expected/
  2. calmbench.expected/
  3. check_generated_files.expected/
  4. compile.expected/
  5. compute_buildstats.expected/
  6. compute_test.expected/
  7. g3_compile.expected/
  8. housekeeper.expected/
  9. infra.expected/
  10. perf.expected/
  11. perf_canvaskit.expected/
  12. perf_pathkit.expected/
  13. perf_skottietrace.expected/
  14. perf_skottiewasm_lottieweb.expected/
  15. recreate_skps.expected/
  16. skpbench.expected/
  17. skqp_test.expected/
  18. sync_and_compile.expected/
  19. test.expected/
  20. test_canvaskit.expected/
  21. test_lottie_web.expected/
  22. test_pathkit.expected/
  23. test_skqp_emulator.expected/
  24. upload_buildstats_results.expected/
  25. upload_calmbench_results.expected/
  26. upload_dm_results.expected/
  27. upload_nano_results.expected/
  28. upload_skiaserve.expected/
  29. android_compile.py
  30. calmbench.py
  31. check_generated_files.py
  32. compile.py
  33. compute_buildstats.py
  34. compute_test.py
  35. g3_compile.py
  36. housekeeper.py
  37. infra.py
  38. perf.py
  39. perf_canvaskit.py
  40. perf_pathkit.py
  41. perf_skottietrace.py
  42. perf_skottiewasm_lottieweb.py
  43. README.md
  44. recreate_skps.py
  45. skpbench.py
  46. skqp_test.py
  47. sync_and_compile.py
  48. test.py
  49. test_canvaskit.py
  50. test_lottie_web.py
  51. test_pathkit.py
  52. test_skqp_emulator.py
  53. upload_buildstats_results.py
  54. upload_calmbench_results.py
  55. upload_dm_results.py
  56. upload_nano_results.py
  57. 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 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.