diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2008-09-03 20:50:49 -0400 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2008-09-03 20:52:17 -0400 |
commit | 308a2ca928f8a36f07a758c443e77d0e2bdc02d0 (patch) | |
tree | 15b0bbedfb9ca2a1a7863d59f6dcbf022dffd425 /doc | |
parent | b1ced45f064fca66e570d4f2b5e87a4c5160e17c (diff) |
[doc/public/check-doc-coverage.sh] Also test cairo-undeclared
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/public/check-doc-coverage.sh | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/public/check-doc-coverage.sh b/doc/public/check-doc-coverage.sh index aa1ee52e..170e312a 100755 --- a/doc/public/check-doc-coverage.sh +++ b/doc/public/check-doc-coverage.sh @@ -15,14 +15,14 @@ fi test -z "$srcdir" && srcdir=. stat=0 -if test -f "$DOC_MODULE-undocumented.txt" -a -f "$DOC_MODULE-unused.txt"; then - : -else - echo At least one of "$DOC_MODULE-undocumented.txt" and "$DOC_MODULE-unused.txt" not found. - echo Skipping test. - exit 0 +if test -f "$DOC_MODULE-undeclared.txt"; then + undeclared=`cat "$DOC_MODULE-unused.txt"` + if test -n "$undeclared"; then + echo Undeclared documentation symbols: 1>&2 + cat "$DOC_MODULE-undeclared.txt" 1>&2 + stat=1 + fi fi - if test -f "$DOC_MODULE-unused.txt"; then unused=`cat "$DOC_MODULE-unused.txt"` if test -n "$unused"; then |