Skip to content

Commit

Permalink
check: Make the actual error stand out
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Wilson committed Sep 6, 2010
1 parent 8258532 commit 21a2f90
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/public/check-doc-coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ stat=0
if test -f "$DOC_MODULE-undeclared.txt"; then
undeclared=`cat "$DOC_MODULE-undeclared.txt"`
if test -n "$undeclared"; then
echo Undeclared documentation symbols: 1>&2
echo "*** ERROR: Undeclared documentation symbols:" 1>&2
cat "$DOC_MODULE-undeclared.txt" 1>&2
stat=1
fi
fi >&2
if test -f "$DOC_MODULE-unused.txt"; then
unused=`cat "$DOC_MODULE-unused.txt"`
if test -n "$unused"; then
echo Unused documentated symbols: 1>&2
echo "*** ERROR: Unused documentated symbols:" 1>&2
cat "$DOC_MODULE-unused.txt" 1>&2
stat=1
fi
Expand All @@ -41,7 +41,7 @@ if test -f "$DOC_MODULE-undocumented.txt"; then
grep '^0 not documented' "$DOC_MODULE-undocumented.txt" >/dev/null; then
:
else
echo Incomplete or undocumented symbols: 1>&2
echo "*** ERROR: Incomplete or undocumented symbols:" 1>&2
cat "$DOC_MODULE-undocumented.txt" 1>&2
stat=1
fi
Expand Down

0 comments on commit 21a2f90

Please sign in to comment.