commit | c9c786710d86dd0656f05fc57aeb8ac6bbd95953 | [log] [tgz] |
---|---|---|
author | Junji Watanabe <jwata@google.com> | Tue Apr 13 07:17:38 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Apr 13 07:17:38 2021 |
tree | 087b48cbd6e85153dc461a4530804ca9256eb567 | |
parent | cb4f1598b92a9a1fb567207a4cfb66f63483d553 [diff] |
remove repo_name from the properties of python-adb-presubmit The python-adb-presubmit is failing for "python-adb is not the name of a configuration for module RECIPE_MODULES.depot_tools.gclient" https://ci.chromium.org/p/infra/builders/try/python-adb-presubmit A gclient config will be created in this path if repo_name is *not* given. https://source.chromium.org/chromium/chromium/tools/build/+/master:recipes/recipes/run_presubmit.py;l=159;drc=ae30468b659d96d1965bff1e9a2b47e9b7d219f7 Bug: 1195050 Change-Id: I70b513bcedd8dc0ced0f0064a6213f380a7c9e5c Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2823190 Auto-Submit: Junji Watanabe <jwata@google.com> Commit-Queue: Junji Watanabe <jwata@google.com> Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Cr-Commit-Position: refs/heads/master@{#40114}
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.