File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change 38
38
doxygen=doxygen
39
39
doxygenlogdir=" doc/html"
40
40
doxygenlog=" $doxygenlogdir /doxygen.log"
41
+ suppress_warnings=(
42
+ " warning: Included by graph for .* not generated, too many nodes. Consider increasing DOT_GRAPH_MAX_NODES." )
41
43
if ! $doxygen --version & > /dev/null
42
44
then
43
45
echo " Lint script could not be found in the $script_folder directory"
44
46
echo " Ensure cpplint.py is inside the $script_folder directory then run again"
45
47
exit 1
46
48
else
47
49
mkdir -p $doxygenlogdir && cd src && $doxygen & > ../$doxygenlog && cd ..
48
- cmd=' cat $doxygenlog'
50
+ suppress_warnings_regex=$( IFS=" |" ; echo " ${suppress_warnings[*]} " )
51
+ cmd=' grep -Ev "$suppress_warnings_regex" $doxygenlog'
49
52
fi
50
53
else
51
54
echo " Mode $mode not recognized"
You can’t perform that action at this time.
0 commit comments