source: libcaca/trunk/test/check-doxygen @ 4332

Last change on this file since 4332 was 4332, checked in by Sam Hocevar, 10 years ago

Nicer make check output for our custom tests.

  • Property svn:executable set to *
File size: 357 bytes
Line 
1#!/bin/sh
2
3#
4# Check for Doxygen warnings
5#
6nfiles="$(grep -c "Parsing file" < ../doc/doxygen.log)"
7if nfails="$(grep -c Warning: ../doc/doxygen.log 2>/dev/null)"; then
8  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
14  exit 1
15fi
16
17exit 0
18
Note: See TracBrowser for help on using the repository browser.