commit | fa43d83846e2822fb337b7b2d3b151f65734fbf2 | [log] [tgz] |
---|---|---|
author | Joseph Sussman <josephsussman@google.com> | Thu Jun 13 18:48:13 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 13 18:48:13 2024 |
tree | 02af1b1926e1a688ac0a62dae7b1e98e2a7891c1 | |
parent | 2a8d98dc057e907f09f8fba4f992e4359962cec1 [diff] |
recovery: Move UEFI-related exec functions to their own package Move exec function for devices with UEFI firmware to their own package and add a unit test. BUG=b:311759305 TEST=make test Change-Id: I5e3c17e4a3e33f15e4ed573ff7255cf13717aeed Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5626600 Auto-Submit: Joseph Sussman <josephsussman@google.com> Commit-Queue: Joseph Sussman <josephsussman@google.com> Reviewed-by: Otabek Kasimov <otabek@google.com> Cr-Commit-Position: refs/heads/main@{#66199}
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>:deployed
git 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.