Skip to content

Commit

Permalink
Fix get_code_cov script style
Browse files Browse the repository at this point in the history
  • Loading branch information
richelbilderbeek committed Nov 2, 2023
1 parent 5356ca0 commit 191c0f8
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions get_code_cov.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
#!/bin/bash
OBJ_FILES_PATH=.

if [ ! -d "$OBJ_FILES_PATH" ]
then
echo "Object file path not found at "$OBJ_FILES_PATH
exit 1
fi

for filename in $(find . | egrep '\.cpp');
for filename in $(find . | grep -E '\.cpp$')
do
gcov -n -o $OBJ_FILES_PATH $filename > /dev/null;
done
gcov -n -o . "${filename}" > /dev/null
done

0 comments on commit 191c0f8

Please sign in to comment.