commit | 998c825c116556ce8894080ffe5623e0d67527f0 | [log] [tgz] |
---|---|---|
author | Alexandr Astrouski <astrouski@google.com> | Thu Oct 23 11:05:43 2025 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 23 11:05:43 2025 |
tree | a7323162e68935fdc7d50e7fd452e253801445aa | |
parent | b15090b13cbedac5ef51d94c673d42f8fa435147 [diff] |
Add BesBoard support for mobly config generation Add include_only_bes_peers param for btreference device that would modify a behaviour of generating btpeers controllers. If params is passed for all and is True we would not include btpeers that doesn't have BES board attached. Add BesBoardSerialPort and BesBoardBtAddress params for btReferenceDevice, they are omitted if no values set. This param is temporary solution to allow customisation of btreferencedevices in mobly config. Add unit tests to verify new param logic if it passed. BUG=b/452295993 TEST=make build && make test Change-Id: I288bef6fd1608560eff3c81c0eff21b785c7e460 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7063550 Reviewed-by: Otabek Kasimov <otabek@google.com> Commit-Queue: Alexandr Astrouski <astrouski@google.com> Cr-Commit-Position: refs/heads/main@{#77136}
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.