Add info about new test cases (#23805)

This commit is contained in:
Michael Klimushyn 2018-10-31 21:12:51 -07:00 committed by GitHub
parent 070df5b6b2
commit 01c7081565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,8 +67,10 @@ The typical cycle for editing a recipe is:
1. Make your edits (probably to files in
`//chrome_infra/build/scripts/slave/recipes/flutter`).
2. Run `build/scripts/slave/recipes.py --use-bootstrap test train` to
update expected files
2. Update the tests. Run `build/scripts/slave/recipes.py --use-bootstrap test
train` to update existing expected output to match the new output. Verify
completely new test cases by altering the `GenTests` method of the recipe.
The recipe is required to have 100% test coverage.
3. Run `build/scripts/slave/recipes.py run flutter/<repo> slavename=<slavename>
mastername=client.flutter buildername=<buildername> buildnumber=1234` where `<repo>` is one
of `flutter` or `engine`, and `slavename` and `buildername` can be looked up