tree: 0edcfe7985b1a767fca4c3c89037b2cb6ee35618 [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. housekeeper.expected/
  8. infra.expected/
  9. perf.expected/
  10. perf_canvaskit.expected/
  11. perf_pathkit.expected/
  12. recreate_skps.expected/
  13. skpbench.expected/
  14. skqp_test.expected/
  15. test.expected/
  16. test_canvaskit.expected/
  17. test_lottie_web.expected/
  18. test_pathkit.expected/
  19. test_skqp_emulator.expected/
  20. update_go_deps.expected/
  21. upload_buildstats_results.expected/
  22. upload_calmbench_results.expected/
  23. upload_dm_results.expected/
  24. upload_nano_results.expected/
  25. upload_skiaserve.expected/
  26. android_compile.py
  27. calmbench.py
  28. check_generated_files.py
  29. compile.py
  30. compute_buildstats.py
  31. compute_test.py
  32. housekeeper.py
  33. infra.py
  34. perf.py
  35. perf_canvaskit.py
  36. perf_pathkit.py
  37. README.md
  38. recreate_skps.py
  39. skpbench.py
  40. skqp_test.py
  41. test.py
  42. test_canvaskit.py
  43. test_lottie_web.py
  44. test_pathkit.py
  45. test_skqp_emulator.py
  46. update_go_deps.py
  47. upload_buildstats_results.py
  48. upload_calmbench_results.py
  49. upload_dm_results.py
  50. upload_nano_results.py
  51. 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.