android13/external/skia/infra/bots/recipes
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
check_generated_files.expected initial 2024-06-22 20:45:49 +08:00
compile.expected initial 2024-06-22 20:45:49 +08:00
compute_buildstats.expected initial 2024-06-22 20:45:49 +08:00
housekeeper.expected initial 2024-06-22 20:45:49 +08:00
infra.expected initial 2024-06-22 20:45:49 +08:00
perf.expected initial 2024-06-22 20:45:49 +08:00
perf_pathkit.expected initial 2024-06-22 20:45:49 +08:00
perf_skottietrace.expected initial 2024-06-22 20:45:49 +08:00
perf_skottiewasm_lottieweb.expected initial 2024-06-22 20:45:49 +08:00
skpbench.expected initial 2024-06-22 20:45:49 +08:00
sync_and_compile.expected initial 2024-06-22 20:45:49 +08:00
test.expected initial 2024-06-22 20:45:49 +08:00
test_canvaskit.expected initial 2024-06-22 20:45:49 +08:00
test_lottie_web.expected initial 2024-06-22 20:45:49 +08:00
test_pathkit.expected initial 2024-06-22 20:45:49 +08:00
upload_buildstats_results.expected initial 2024-06-22 20:45:49 +08:00
upload_dm_results.expected initial 2024-06-22 20:45:49 +08:00
upload_nano_results.expected initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00
check_generated_files.py initial 2024-06-22 20:45:49 +08:00
compile.py initial 2024-06-22 20:45:49 +08:00
compute_buildstats.py initial 2024-06-22 20:45:49 +08:00
housekeeper.py initial 2024-06-22 20:45:49 +08:00
infra.py initial 2024-06-22 20:45:49 +08:00
perf.py initial 2024-06-22 20:45:49 +08:00
perf_pathkit.py initial 2024-06-22 20:45:49 +08:00
perf_skottietrace.py initial 2024-06-22 20:45:49 +08:00
perf_skottiewasm_lottieweb.py initial 2024-06-22 20:45:49 +08:00
skpbench.py initial 2024-06-22 20:45:49 +08:00
sync_and_compile.py initial 2024-06-22 20:45:49 +08:00
test.py initial 2024-06-22 20:45:49 +08:00
test_canvaskit.py initial 2024-06-22 20:45:49 +08:00
test_lottie_web.py initial 2024-06-22 20:45:49 +08:00
test_pathkit.py initial 2024-06-22 20:45:49 +08:00
upload_buildstats_results.py initial 2024-06-22 20:45:49 +08:00
upload_dm_results.py initial 2024-06-22 20:45:49 +08:00
upload_nano_results.py initial 2024-06-22 20:45:49 +08:00

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.