commit | 8e7a16be2d3ba48c15284efc010b5a6e102698e2 | [log] [tgz] |
---|---|---|
author | Eshwar Narayan <eshwarn@google.com> | Tue Apr 06 23:01:54 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 06 23:01:54 2021 |
tree | dfa3a85647b2c7e753adf7f89490116c336f88be | |
parent | e7b8baa1501fe5c470f00bcfc0ded345a0b2ebee [diff] |
UFS: reportInventory for SchedulingUnit for gmon Bug: b/180138776 Test: make dev-dumper;make test; Change-Id: I03c46a83b3fcb31fb7f16e7b95e364ad7872dd77 Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2803463 Commit-Queue: Eshwar Narayan <eshwarn@chromium.org> Reviewed-by: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Garry Wang <xianuowang@chromium.org> Cr-Commit-Position: refs/heads/master@{#39957}
Testing 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.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.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.