summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Bettis <jbettis@google.com>2021-09-20 16:09:09 -0600
committerCommit Bot <commit-bot@chromium.org>2021-09-21 19:16:55 +0000
commit265946822c56409b6b2aa07a2592b441b00f6bbe (patch)
treedf39f519961702550cce71ccb10c3441a2f292cf
parent2de3d51b0a32c9f26dea0dd3d430f1f7f9adab41 (diff)
downloadchrome-ec-265946822c56409b6b2aa07a2592b441b00f6bbe.tar.gz
ec: Exclude version test from coverage builds
The version host test only works inside the chroot, and doesn't really contribute to coverage, so exclude it from coverage builds. BRANCH=None BUG=None TEST=in docker: make -j CRYPTOC_DIR="${MODULES_DIR}/cryptoc" \ FTDIVERSION=1 HOSTGCOV='gcov' \ CROSS_COMPILE_arm=/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi- \ coverage Change-Id: I05ee9968360d8e76199fc3ee65d0ca1f2eae7ed4 Signed-off-by: Jeremy Bettis <jbettis@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3171940 Commit-Queue: Jeremy Bettis <jbettis@chromium.org> Tested-by: Jeremy Bettis <jbettis@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
-rw-r--r--test/build.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/build.mk b/test/build.mk
index 6785024d2e..61865009f6 100644
--- a/test/build.mk
+++ b/test/build.mk
@@ -123,6 +123,8 @@ cov-dont-test += fpsensor
cov-dont-test += fpsensor_crypto
# fpsensor_state: genhtml looks for build/host/fpsensor_state/cryptoc/util.c
cov-dont-test += fpsensor_state
+# version: Only works in a chroot.
+cov-dont-test += version
cov-test-list-host = $(filter-out $(cov-dont-test), $(test-list-host))
accel_cal-y=accel_cal.o