From 9ceb72e4072e7c24e2c0abc0ba429da190b57fb8 Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Fri, 19 Dec 2014 14:37:04 +1100 Subject: Exclude all test cases from coverage-report This way we get a true representation from the lcov coverage-report about what firmware code we're testing (besides, test cases are always going to only have 50% of branches hit - we're asserting the tests pass!) Signed-off-by: Stewart Smith --- libc/test/Makefile.check | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libc') diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check index 18bc3b4..d4efaf3 100644 --- a/libc/test/Makefile.check +++ b/libc/test/Makefile.check @@ -1,6 +1,8 @@ # -*-Makefile-*- LIBC_TEST := libc/test/run-time +LCOV_EXCLUDE += $(LIBC_TEST:%=%.c) + check: $(LIBC_TEST:%=%-check) coverage: $(LIBC_TEST:%=%-gcov-run) -- cgit v1.1