aboutsummaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>2015-02-04 15:22:00 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2015-02-05 11:56:31 +1100
commit31e6f3938b0789b0c9457979f422dfd675c4c2d4 (patch)
tree11d578f7a37d6141a333b5fa86b15504adcfd5c0 /libc
parentcd19c10e69a550ef7a56aab3954bd22110ce4f12 (diff)
downloadskiboot-31e6f3938b0789b0c9457979f422dfd675c4c2d4.zip
skiboot-31e6f3938b0789b0c9457979f422dfd675c4c2d4.tar.gz
skiboot-31e6f3938b0789b0c9457979f422dfd675c4c2d4.tar.bz2
Makefile: clean the gcov files created during coverage
Fix the Makefile to clean up the coverage data files generated through gcov. Signed-off-by: Neelesh Gupta <neelegup@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/test/Makefile.check13
1 files changed, 11 insertions, 2 deletions
diff --git a/libc/test/Makefile.check b/libc/test/Makefile.check
index f37fe93..eb6fac8 100644
--- a/libc/test/Makefile.check
+++ b/libc/test/Makefile.check
@@ -57,6 +57,15 @@ $(LIBC_DUALLIB_TEST:%=%-gcov-test.o): %-gcov-test.o : %-test.c %
clean: libc-test-clean
libc-test-clean:
- $(RM) -f libc/test/*.[od] $(LIBC_TEST) $(LIBC_TEST:%=%-gcov)
- $(RM) -f $(LIBC_DUALLIB_TEST) $(LIBC_DUALLIB_TEST:%=%-gcov) \
+ $(RM) -f libc/test/*.[od]
+ $(RM) -f $(LIBC_TEST) \
+ $(LIBC_TEST:%=%-gcov) \
+ $(LIBC_TEST:%=%.gcda) \
+ $(LIBC_TEST:%=%.gcno)
+ $(RM) -f $(LIBC_DUALLIB_TEST) \
+ $(LIBC_DUALLIB_TEST:%=%-gcov) \
+ $(LIBC_DUALLIB_TEST:%=%-gcov.gcda) \
+ $(LIBC_DUALLIB_TEST:%=%-gcov.gcno) \
+ $(LIBC_DUALLIB_TEST:%=%-gcov-test.gcda) \
+ $(LIBC_DUALLIB_TEST:%=%-gcov-test.gcno) \
$(LIBC_DUALLIB_TEST:%=%-test.o)