From: Loic Dachary Date: Mon, 16 Dec 2013 13:36:26 +0000 (+0100) Subject: qa: recursively remove .gcno and .gcda X-Git-Tag: v0.75~88^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ae56cef39637c7f0ebfa32ec0f0a3c2db171e50b;p=ceph.git qa: recursively remove .gcno and .gcda Instead of removing them only in the current directory. Leftovers prevent running make check-coverage properly because lcov fails when stumbling on old .gcno files with lcov -d . -c -i -o check-coverage_base_full.lcov Processing os/BtrfsFileStoreBackend.gcno geninfo: ERROR: ceph/src/os/BtrfsFileStoreBackend.gcno: reached unexpected end of file Signed-off-by: Loic Dachary --- diff --git a/src/Makefile.am b/src/Makefile.am index 7ee5e6a11207..c337f7bf59df 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -310,7 +310,8 @@ ceph: ceph.in ./ceph_ver.h Makefile # cleaning clean-local: - rm -f *.so *.gcno *.gcda + rm -f *.so + find . -name '*.gcno' -o -name '*.gcda' -o -name '*.lcov' | xargs rm -f rm -f ceph java/java/com/ceph/crush/Bucket.class