tree: bae3aff8585b32cba3d9f511da92323b62b291f9 [path history] [tgz]
  1. android_compile.expected/
  2. bookmaker.expected/
  3. calmbench.expected/
  4. check_generated_files.expected/
  5. compile.expected/
  6. compute_buildstats.expected/
  7. compute_test.expected/
  8. housekeeper.expected/
  9. infra.expected/
  10. perf.expected/
  11. perf_pathkit.expected/
  12. recreate_skps.expected/
  13. skpbench.expected/
  14. skqp_test.expected/
  15. test.expected/
  16. test_lottie_web.expected/
  17. test_pathkit.expected/
  18. test_skqp_emulator.expected/
  19. update_go_deps.expected/
  20. upload_buildstats_results.expected/
  21. upload_calmbench_results.expected/
  22. upload_dm_results.expected/
  23. upload_nano_results.expected/
  24. upload_skiaserve.expected/
  25. android_compile.py
  26. bookmaker.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_pathkit.py
  36. README.md
  37. recreate_skps.py
  38. skpbench.py
  39. skqp_test.py
  40. test.py
  41. test_lottie_web.py
  42. test_pathkit.py
  43. test_skqp_emulator.py
  44. update_go_deps.py
  45. upload_buildstats_results.py
  46. upload_calmbench_results.py
  47. upload_dm_results.py
  48. upload_nano_results.py
  49. 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.