diff options
author | Yuval Peress <peress@chromium.org> | 2021-06-21 22:03:29 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-06-22 17:28:53 +0000 |
commit | fd2233665db303a406b5337b0f044b5275379f85 (patch) | |
tree | 03547f088872cb5fa151b7923d729a70e647144d /zephyr/firmware_builder.py | |
parent | 17f878e752c9ca275ff29d03e2802ef43c560dc2 (diff) | |
download | chrome-ec-fd2233665db303a406b5337b0f044b5275379f85.tar.gz |
zmake: block hypothesis health checks for CQ
Allow passing a --cq flag to zmake for running a CQ pass. When done,
zmake will remove flaky features such as hypothesis health checks which
cause pytests to fail when taking longer than "expected". Note that the
health checks ignore the deadline set on each function and will still
fail if they deem the test to have run too long.
BRANCH=none
BUG=b:190229270, b:190957007
TEST=sudo emerge chromeos-base/zephyr-build-tools && \
zmake --cq testall
Signed-off-by: Yuval Peress <peress@chromium.org>
Change-Id: Iaf9a38e0bbd65f0be9521019a615279d8b5fbb49
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2977586
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'zephyr/firmware_builder.py')
-rwxr-xr-x | zephyr/firmware_builder.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr/firmware_builder.py b/zephyr/firmware_builder.py index b4dd5170f1..ce817f68a7 100755 --- a/zephyr/firmware_builder.py +++ b/zephyr/firmware_builder.py @@ -138,7 +138,7 @@ def test(opts): return subprocess.run( ['zmake', '-D', 'coverage', build_dir], cwd=platform_ec).returncode - return subprocess.run(['zmake', '-D', 'testall']).returncode + return subprocess.run(['zmake', '-D', '--cq', 'testall']).returncode def main(args): |