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