Skip to content

Commit

Permalink
fix make check error
Browse files Browse the repository at this point in the history
Signed-off-by: pettershao-ragilenetworks <pettershao@ragilenetworks.com>
  • Loading branch information
pettershao-ragilenetworks authored and sdk committed Nov 3, 2022
1 parent 37326be commit 959ec32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gcov_support.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ lcov_genhtml_report()
local fullpath=$line
local infoname=${INFO_FILE_PREFIX}${fullpath##*/}.info
htmldirname=${HTML_FILE_PREFIX}${fullpath##*/}

echo ${fullpath}

pushd ${fullpath}
Expand Down Expand Up @@ -341,7 +341,6 @@ gcov_support_collect_gcda()

echo "### Make /tmp/gcov dir completed !!"
popd

}

# list and save the generated .gcno files
Expand Down Expand Up @@ -377,7 +376,7 @@ gcov_support_collect_gcno()
RESULT=${find_command}
echo "$RESULT" >&3
exec 3>&-

local filesize=`ls -l $GCNO_LIST_FILE | awk '{print $5}'`
# Empty gcno_file_list indicates the non-gcov compling mode
if [ ${filesize} -le 1 ]; then
Expand Down

0 comments on commit 959ec32

Please sign in to comment.