Ignore:
Timestamp:
Feb 8, 2010, 1:40:21 AM (6 years ago)
Author:
sam
Message:

Nicer make check output for our custom tests.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/check-doxygen

    r4320 r4332  
    44# Check for Doxygen warnings
    55#
    6 if warnings="$(grep -c Warning: ../doc/doxygen.log 2>/dev/null)"; then
    7   echo "error: $warnings warnings in Doxygen generation:"
     6nfiles="$(grep -c "Parsing file" < ../doc/doxygen.log)"
     7if nfails="$(grep -c Warning: ../doc/doxygen.log 2>/dev/null)"; then
    88  grep Warning: ../doc/doxygen.log | sed 's/\(.\{75\}\)...*/\1 .../'
     9fi
     10
     11echo "$nfiles files, $nfails visible errors in documentation"
     12
     13if test "$nfails" != "0"; then
    914  exit 1
    1015fi
    1116
    12 echo "0 visible errors in documentation"
    1317exit 0
    1418
Note: See TracChangeset for help on using the changeset viewer.