mb: Add the ability to create expectation files for every builder.
Adds a `mb.py train` command that will dump json files for every builder (one file for each master) to a specified dir. And hook up `mb.py validate` to also validate the expectations. This won't actually generate the expectations. For now it's silently skipped if the expectations dir doesn't exist. Will create it in a follow-up. To see what the expectations would look like, see patchset 5: https://chromium-review.googlesource.com/c/chromium/src/+/2378273/5 Bug: 1117577 Change-Id: Iaa7be9201d26fe331620f0d666a03a6adbaa2f3a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2378273 Commit-Queue: Ben Pastene <bpastene@chromium.org> Reviewed-by:Dirk Pranke <dpranke@google.com> Reviewed-by:
Garrett Beaty <gbeaty@chromium.org> Cr-Commit-Position: refs/heads/master@{#813417}
Showing
Please register or sign in to comment