[test suite] better job of cleaning up coverage files

This commit is contained in:
Michael Rash
2018-08-18 19:46:47 -07:00
parent 62336616d7
commit d50276d6fe
2 changed files with 5 additions and 1 deletions

View File

@@ -6,6 +6,10 @@ cd ..
[ ! -d $TOP_DIR ] && mkdir $TOP_DIR
[ -f $LCOV_BASE ] && rm -f $LCOV_BASE
[ -f $LCOV_INFO ] && rm -f $LCOV_INFO
[ -f $LCOV_INFO_TMP ] && rm -f $LCOV_INFO_TMP
[ -f $LCOV_INFO_TMP2 ] && rm -f $LCOV_INFO_TMP2
[ -f $LCOV_INFO_TMP3 ] && rm -f $LCOV_INFO_TMP3
[ -f $LCOV_INFO_TMP4 ] && rm -f $LCOV_INFO_TMP4
[ -f $LCOV_INFO_FINAL ] && rm -f $LCOV_INFO_FINAL
[ -d $LCOV_RESULTS_DIR ] && rm -rf $LCOV_RESULTS_DIR
[ ! -d $LCOV_RESULTS_DIR ] && mkdir $LCOV_RESULTS_DIR

View File

@@ -1,7 +1,7 @@
#!/bin/sh -x
cd ..
for d in client server lib
for d in client server lib common
do
for s in *.gcda *.gcno *.gcov
do