| commit | 8b1206d8c504512ef982c89ad40bd712077f225f | [log] [tgz] |
|---|---|---|
| author | Garry Wang <xianuowang@google.com> | Fri Jan 16 05:21:34 2026 |
| committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Jan 16 05:21:34 2026 |
| tree | ef06ae0fe5c31accc4aea5384b758061d39ddd72 | |
| parent | 2ef0aa4a5ef7fdcbbdc8cee84c6384d52c7d314e [diff] |
recovery: access DUT via adb in provision image for select models Also refactor a bit to ensure provision and recovery shares a same model list. BUG=b:471816465, b:468016611 TEST=go test ./... Change-Id: Idc35f5e545d22122783b2eac9ea343dfadf400a7 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7487706 Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Queue: Fei Shao <fshao@chromium.org> Cr-Commit-Position: refs/heads/main@{#78439}
Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path modifications.git push origin <updated hash>:deployedgit push commandIf you've added a new module, run your tests with test.py:
*_test.py files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores. Use yapf (git cl format) to autoformat new code.