source: trunk/test/doxygen_test.sh @ 2517

Last change on this file since 2517 was 2517, checked in by Peter, 12 years ago

use common_defs in documentation_test. Change name to doxygen_test to avoid filename conflict

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#!/bin/sh
2
3# $Id: doxygen_test.sh 2517 2011-07-11 13:58:16Z peter $
4
5# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2009, 2010 Peter Johansson
7#
8# This file is part of the yat library, http://dev.thep.lu.se/yat
9#
10# The yat library is free software; you can redistribute it
11# and/or modify it under the terms of the GNU General Public License as
12# published by the Free Software Foundation; either version 3 of the
13# License, or (at your option) any later version.
14#
15# The yat library is distributed in the hope that it will be useful,
16# but WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with yat. If not, see <http://www.gnu.org/licenses/>.
22#
23
24required=doxygen
25. ./common_defs.sh || exit 1
26
27if test $have_doxygen = "no"; then
28    echo Skipped;
29    exit 77;
30fi
31
32printf "doxygen "
33$DOXYGEN --version
34(cd $abs_top_builddir/doc && make doc < /dev/null) || exit 1
35if test ! -e $abs_top_builddir/doc/doxygen.error; then
36    echo Cannot find file: $abs_top_builddir/doc/doxygen.error
37    exit 1;
38fi
39if test -s $abs_top_builddir/doc/doxygen.error; then
40
41    cat $abs_top_builddir/doc/doxygen.error
42    exit 1;
43fi
44echo Test is OK
45
46exit 0
Note: See TracBrowser for help on using the repository browser.