From 442e4e457897a205690d0a15b2c8c1300e200943 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Mon, 19 Feb 2018 02:06:07 +0100 Subject: [PATCH] Find code coverage information in more locations --- doc/scripts/coverage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/scripts/coverage.sh b/doc/scripts/coverage.sh index f6e738d..3eace71 100755 --- a/doc/scripts/coverage.sh +++ b/doc/scripts/coverage.sh @@ -59,7 +59,7 @@ _coverage() $MAKE CC="$CC" CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" OBJDIR="$tmpdir/tests/" "$tmpdir/tests/$TARGET" res=$? #look for any code executed - $FIND "$tmpdir/tests" -name '*.gcda' | while read filename; do + $FIND "$tmpdir" -name '*.gcda' | while read filename; do echo echo "${filename%.gcda}.c:" $GCOV -n "${filename%.gcda}.gcno"