aboutsummaryrefslogtreecommitdiff
path: root/hw/ipmi
diff options
context:
space:
mode:
authorStewart Smith <stewart@linux.vnet.ibm.com>2014-12-19 14:37:04 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2014-12-19 14:37:04 +1100
commit9ceb72e4072e7c24e2c0abc0ba429da190b57fb8 (patch)
tree829ca39afded678ce0b7807aad593d44846a81c1 /hw/ipmi
parent41b9ec15d028592eadd283ddd5d955cfa0d20e7f (diff)
downloadskiboot-9ceb72e4072e7c24e2c0abc0ba429da190b57fb8.zip
skiboot-9ceb72e4072e7c24e2c0abc0ba429da190b57fb8.tar.gz
skiboot-9ceb72e4072e7c24e2c0abc0ba429da190b57fb8.tar.bz2
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 <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/ipmi')
-rw-r--r--hw/ipmi/test/Makefile.check2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/ipmi/test/Makefile.check b/hw/ipmi/test/Makefile.check
index 05fb903..0669b3e 100644
--- a/hw/ipmi/test/Makefile.check
+++ b/hw/ipmi/test/Makefile.check
@@ -1,6 +1,8 @@
# -*-Makefile-*-
IPMI_TEST := hw/ipmi/test/run-fru
+LCOV_EXCLUDE += $(IPMI_TEST:%=%.c)
+
check: $(IPMI_TEST:%=%-check) $(IPMI_TEST:%=%-gcov-run)
coverage: $(IPMI_TEST:%=%-gcov-run)