skia2/infra/bots/recipes
Eric Boren 82cb619314 [infra] Calmbench: fix path to nanobench executable
Bug: skia:7883
Change-Id: Id363d59d2466c3f4fae8a79e6ad9e6c270e445ae
Reviewed-on: https://skia-review.googlesource.com/124403
Commit-Queue: Eric Boren <borenet@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Auto-Submit: Eric Boren <borenet@google.com>
Reviewed-by: Yuqian Li <liyuqian@google.com>
2018-04-30 13:34:00 +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 Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +00:00
calmbench.expected [infra] Calmbench: fix path to nanobench executable 2018-04-30 13:34:00 +00:00
check_generated_files.expected Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +00:00
compile.expected Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +00:00
ct_skps.expected Revert "[recipes] Use named caches for git and workdirs" 2018-04-26 22:21:04 +00:00
housekeeper.expected Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +00:00
infra.expected Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +00:00
perf.expected Update test expectations for Debian9 2018-04-26 17:16:53 +00:00
recreate_skps.expected Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +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 Reland "Reland "Reland "Exercise the threaded backend in test bots""" 2018-04-27 19:53:48 +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 [infra] Calmbench: fix path to nanobench executable 2018-04-30 13:34:00 +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 Reland "[recipes] Use named caches for git and workdirs" 2018-04-27 18:18:48 +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 Update test expectations for Debian9 2018-04-26 17:16:53 +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 Reland "Reland "Reland "Exercise the threaded backend in test bots""" 2018-04-27 19:53:48 +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.