skia2/infra/bots/recipes
Adrienne Walker 6f719aeeae Add CheckGeneratedFiles recipe check for gpu workarounds
Followup to https://skia-review.googlesource.com/122800

Bug: chromium: 829614
Change-Id: Idde753e0f8943290208625ba5b6332a5fdc07184
Reviewed-on: https://skia-review.googlesource.com/123536
Commit-Queue: Adrienne Walker <enne@chromium.org>
Commit-Queue: Eric Boren <borenet@google.com>
Auto-Submit: Adrienne Walker <enne@chromium.org>
Reviewed-by: Eric Boren <borenet@google.com>
2018-04-25 19:26:27 +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 Switch RecreateSKPs and Bookmaker bots to use service accounts 2018-04-23 13:00:19 +00:00
calmbench.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
check_generated_files.expected Add CheckGeneratedFiles recipe check for gpu workarounds 2018-04-25 19:26:27 +00:00
compile.expected [infra] Fast-forward recipes, re-enable roller 2018-04-23 14:06:50 +00:00
ct_skps.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
housekeeper.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
infra.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
perf.expected Add more angle_gl_* configs for NVIDIA. 2018-04-19 21:32:34 +00:00
recreate_skps.expected [infra] Fast-forward recipes, re-enable roller 2018-04-23 14:06:50 +00:00
skpbench.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
skqp_test.expected Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
test.expected Migrate NUC7i5BNK to Debian 9 2018-04-25 13:13:07 +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 Switch RecreateSKPs and Bookmaker bots to use service accounts 2018-04-23 13:00:19 +00:00
calmbench.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
check_generated_files.py Add a bot to verify that generated SKSL files have not been hand-edited 2017-07-28 12:20:47 +00:00
compile.py remove CC,CXX,CPPFLAGS from compile environment 2018-04-03 19:25:31 +00:00
ct_skps.py update Ubuntu14 CT bots to Clang 2018-03-22 23:53:09 +00:00
housekeeper.py Fix binary size analysis 2018-03-12 13:23:58 +00:00
infra.py Add bot which builds without DEPS 2018-02-22 17:47:56 +00:00
perf.py Add more angle_gl_* configs for NVIDIA. 2018-04-19 21:32:34 +00:00
README.md Use new recipes.py test command 2017-04-18 13:57:56 +00:00
recreate_skps.py Switch RecreateSKPs and Bookmaker bots to use service accounts 2018-04-23 13:00:19 +00:00
skpbench.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +00:00
skqp_test.py Test SKQP on Firebase Testlab and Upload 2018-03-07 20:44:50 +00:00
test.py Migrate NUC7i5BNK to Debian 9 2018-04-25 13:13:07 +00:00
upload_calmbench_results.py Reland "[infra] Run recipes through Kitchen" 2018-04-19 11:27:46 +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.