summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zephyr/Makefile.cq5
1 files changed, 5 insertions, 0 deletions
diff --git a/zephyr/Makefile.cq b/zephyr/Makefile.cq
index fb8227e11d..3bd2d3242d 100644
--- a/zephyr/Makefile.cq
+++ b/zephyr/Makefile.cq
@@ -69,8 +69,13 @@ else
test: twister_host twister_llvm
endif
+ifdef COVERAGE
+zmake_unit_tests:
+ zmake/run_tests.sh --coverage
+else
zmake_unit_tests:
zmake/run_tests.sh
+endif
twister_host $(PLATFORM_EC)/twister-out-host/coverage.info: TOOLCHAIN=host
twister_host $(PLATFORM_EC)/twister-out-host/coverage.info: