Add kernel tests
BUG=chromium-os:38139
BRANCH=none
TEST=make runtests
Change-Id: Iee7c965d5c29063259c66d0ccb117c60f4f4a92e
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/42314
diff --git a/Makefile b/Makefile
index 6129697..d51a18b 100644
--- a/Makefile
+++ b/Makefile
@@ -425,6 +425,7 @@
vboot_common3_tests \
vboot_display_tests \
vboot_firmware_tests \
+ vboot_kernel_tests \
vboot_nvstorage_test
# Grrr
@@ -952,6 +953,7 @@
${RUNTEST} ${BUILD_RUN}/tests/vboot_common3_tests ${TEST_KEYS}
${RUNTEST} ${BUILD_RUN}/tests/vboot_display_tests
${RUNTEST} ${BUILD_RUN}/tests/vboot_firmware_tests
+ ${RUNTEST} ${BUILD_RUN}/tests/vboot_kernel_tests
${RUNTEST} ${BUILD_RUN}/tests/vboot_nvstorage_test
.PHONY: runfutiltests
@@ -993,7 +995,8 @@
# Generate addtional coverage stats just for firmware subdir, because the
# per-directory stats for the whole project don't include their own subdirs.
- lcov -e ${COV_INFO}.local '${SRCDIR}/firmware/*' \
+ lcov -r ${COV_INFO}.local '*/stub/*' -o ${COV_INFO}.nostub
+ lcov -e ${COV_INFO}.nostub '${SRCDIR}/firmware/*' \
-o ${COV_INFO}.firmware
.PHONY: coverage