tree: 3e9b246e16debbd5d7fc18578f845b8a9b1d52ec [path history] [tgz]
  1. README.md
  2. android_compile.expected/
  3. android_compile.py
  4. check_generated_files.expected/
  5. check_generated_files.py
  6. compile.expected/
  7. compile.py
  8. compute_buildstats.expected/
  9. compute_buildstats.py
  10. compute_test.expected/
  11. compute_test.py
  12. g3_compile.expected/
  13. g3_compile.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. perf_skottiewasm_lottieweb.expected/
  27. perf_skottiewasm_lottieweb.py
  28. recreate_skps.expected/
  29. recreate_skps.py
  30. skpbench.expected/
  31. skpbench.py
  32. skqp_test.expected/
  33. skqp_test.py
  34. sync_and_compile.expected/
  35. sync_and_compile.py
  36. test.expected/
  37. test.py
  38. test_canvaskit.expected/
  39. test_canvaskit.py
  40. test_lottie_web.expected/
  41. test_lottie_web.py
  42. test_pathkit.expected/
  43. test_pathkit.py
  44. test_skqp_emulator.expected/
  45. test_skqp_emulator.py
  46. upload_buildstats_results.expected/
  47. upload_buildstats_results.py
  48. upload_dm_results.expected/
  49. upload_dm_results.py
  50. upload_nano_results.expected/
  51. 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.