Preserve doxygen.warnings.log from last report.

Direct doxygen warnings to doxygen.log.
doxygen.warnings.report.sh moves this to doxygen.warnings.log, so
subsequent normal oxygen builds don't overwrite it.
This commit is contained in:
Peter D. Barnes, Jr.
2012-11-07 14:29:47 -08:00
parent 1d36b2b069
commit 546e80a186
3 changed files with 12 additions and 6 deletions

View File

@@ -20,6 +20,7 @@
\.pcap$
\.mob$
\.routes$
^doc/doxygen.log$
^doc/doxygen.warnings.log$
^doc/(manual|models|tutorial|tutorial-pt-br)/build
^doc/(manual|models|tutorial|tutorial-pt-br)/figures/.*\.(eps|pdf|png)$

View File

@@ -646,7 +646,7 @@ WARN_FORMAT = "$file:$line: $text"
# and error messages should be written. If left blank the output is written
# to stderr.
WARN_LOGFILE = doc/doxygen.warnings.log
WARN_LOGFILE = doc/doxygen.log
#---------------------------------------------------------------------------
# configuration options related to the input files

View File

@@ -10,7 +10,7 @@ ROOT=`hg root`
conf=$DIR/doxygen.conf
sed -i.bak -E '/^EXTRACT_ALL |^HAVE_DOT /s/YES/no/' $conf
sed -i.bak -E '/^EXTRACT_ALL |^HAVE_DOT |^WARNINGS /s/YES/no/' $conf
rm -f $conf.bak
echo -n "Rebuilding doxygen docs with full errors..."
@@ -26,16 +26,21 @@ else
exit 1
fi
# Save the log file
log=$DIR/doxygen.warnings.log
mv $DIR/doxygen.log $log
# Now we're ready to summarize the log
logfile=$DIR/doxygen.warnings.log
echo
echo "Summary Report of Doxygen warnings:"
echo
echo "Count of warning by module:"
echo "Count Module"
grep "^$ROOT" $logfile | \
grep "^$ROOT" $log | \
cut -d ':' -f 1 | \
sed "s|$ROOT||g" | \
cut -d '/' -f 1-3 | \
@@ -46,9 +51,9 @@ grep "^$ROOT" $logfile | \
echo
undocparam=` \
grep -v "^$ROOT" $logfile | \
grep -v "^$ROOT" $log | \
grep -v "not generated, too many nodes" | \
grep "^ parameter '" $logfile | \
grep "^ parameter '" $log | \
wc -l | \
sed 's/^[ \t]*//;s/[ \t]*$//' `