skia2/infra/bots/recipes
Eric Boren 72f6668eb7 [recipes] Move a lot of logic out of vars module
In general, vars should only contain variables which are the same for
all tasks.  Variables specific to compilation belong in the build
module (or compile recipe), and those specific to running tests belong
in the flavor module, or the individual recipe which uses them.

Bug: skia:6473
Change-Id: Ifd55a57118c5801e6f4934a6b5de9d1567415b9a
Reviewed-on: https://skia-review.googlesource.com/128545
Commit-Queue: Eric Boren <borenet@google.com>
Reviewed-by: Ben Wagner <benjaminwagner@google.com>
2018-05-18 11:58:14 +00:00
..
android_compile.expected [Android Compile Bot] Look at the start_dir for trigger_wait_ac_task.py 2018-02-05 18:34:46 +00:00
bookmaker.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
calmbench.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
check_generated_files.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
compile.expected [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
ct_skps.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
housekeeper.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
infra.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
perf.expected Specify the ADB keys to use for ADB 2018-05-17 19:28:43 +00:00
recreate_skps.expected Use Chromium ToT instead of lkcr 2018-05-16 14:36:54 +00:00
skpbench.expected Specify the ADB keys to use for ADB 2018-05-17 19:28:43 +00:00
skqp_test.expected [recipes] BUILDTYPE and SKIA_OUT are no longer used 2018-05-15 19:36:23 +00:00
test.expected Specify the ADB keys to use for ADB 2018-05-17 19:28:43 +00:00
upload_calmbench_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_coverage_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_dm_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_nano_results.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_skiaserve.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
android_compile.py [Android Compile Bot] Look at the start_dir for trigger_wait_ac_task.py 2018-02-05 18:34:46 +00:00
bookmaker.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
calmbench.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
check_generated_files.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
compile.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
ct_skps.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
housekeeper.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
infra.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
perf.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
README.md Use new recipes.py test command 2017-04-18 13:57:56 +00:00
recreate_skps.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
skpbench.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
skqp_test.py [recipes] Remove core.setup() 2018-05-04 18:23:13 +00:00
test.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
upload_calmbench_results.py [recipes] Move a lot of logic out of vars module 2018-05-18 11:58:14 +00:00
upload_coverage_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_dm_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_nano_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
upload_skiaserve.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00

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 run --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.