tree: b3fe09dbe6cb0a89af48a7df3f23705223d06231 [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. g3_compile.expected/
  15. g3_compile.py
  16. housekeeper.expected/
  17. housekeeper.py
  18. infra.expected/
  19. infra.py
  20. perf.expected/
  21. perf.py
  22. perf_canvaskit.expected/
  23. perf_canvaskit.py
  24. perf_pathkit.expected/
  25. perf_pathkit.py
  26. perf_skottietrace.expected/
  27. perf_skottietrace.py
  28. perf_skottiewasm_lottieweb.expected/
  29. perf_skottiewasm_lottieweb.py
  30. recreate_skps.expected/
  31. recreate_skps.py
  32. skpbench.expected/
  33. skpbench.py
  34. skqp_test.expected/
  35. skqp_test.py
  36. sync_and_compile.expected/
  37. sync_and_compile.py
  38. test.expected/
  39. test.py
  40. test_canvaskit.expected/
  41. test_canvaskit.py
  42. test_lottie_web.expected/
  43. test_lottie_web.py
  44. test_pathkit.expected/
  45. test_pathkit.py
  46. test_skqp_emulator.expected/
  47. test_skqp_emulator.py
  48. upload_buildstats_results.expected/
  49. upload_buildstats_results.py
  50. upload_calmbench_results.expected/
  51. upload_calmbench_results.py
  52. upload_dm_results.expected/
  53. upload_dm_results.py
  54. upload_nano_results.expected/
  55. 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.