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 <loic@dachary.org>
This commit is contained in:
Loic Dachary 2013-12-16 14:36:26 +01:00
parent 6f431200e3
commit ae56cef396

View File

@ -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