diff options
author | Jeremy Bettis <jbettis@google.com> | 2022-10-27 15:25:51 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-10-27 23:12:04 +0000 |
commit | dbd84e1174ddfb2991702773e3de8fa22ea7604b (patch) | |
tree | 98eafb0a87cbe9133e2e373c3234a3a1e7e80272 /.gitignore | |
parent | f0cd67d2e3fa39179749aaf9200128cf0d6d675f (diff) | |
download | chrome-ec-dbd84e1174ddfb2991702773e3de8fa22ea7604b.tar.gz |
zmake: Allow running pytest coverage in chroot
Implement run_tests.sh --coverage by using vpython3 to install all the
necessary projects.
Since I added command line flags, pass any excess flags to pytest and
add some documentation on how to run to the comments.
BRANCH=None
BUG=None
TEST=zephyr/zmake/run_tests.sh --coverage
Signed-off-by: Jeremy Bettis <jbettis@google.com>
Change-Id: Ib82271e414850079319769fa32ca4d6de04e67ab
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3989351
Tested-by: Jeremy Bettis <jbettis@chromium.org>
Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
Commit-Queue: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to '.gitignore')
-rw-r--r-- | .gitignore | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore index adbd410018..7700c6fdf1 100644 --- a/.gitignore +++ b/.gitignore @@ -27,6 +27,8 @@ __pycache__ *.egg-info .hypothesis/ zephyr/zmake/.coverage +zephyr/zmake/htmlcov/ +zephyr/zmake/coverage.json # Clangd language server .cache/clangd/index/* |