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