source: trunk/test/documentation_test.sh.in @ 2228

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

Using the parallel-tests driver. All tests are now by default verbose,
but 'make check' is still silent and the output is collected in log
files. Please refer to test/README or the Automake manual for more
details.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1#!@SHELL@
2# @configure_input@
3
4# $Id: documentation_test.sh.in 2228 2010-03-25 12:28:14Z peter $
5
6# Copyright (C) 2008 Jari Häkkinen, Peter Johansson
7# Copyright (C) 2009, 2010 Peter Johansson
8#
9# This file is part of the yat library, http://dev.thep.lu.se/yat
10#
11# The yat library is free software; you can redistribute it
12# and/or modify it under the terms of the GNU General Public License as
13# published by the Free Software Foundation; either version 3 of the
14# License, or (at your option) any later version.
15#
16# The yat library is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
19# General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with yat. If not, see <http://www.gnu.org/licenses/>.
23#
24
25have_doxygen="@have_doxygen@"
26
27if test $have_doxygen = "no"; then
28    echo Skipped;
29    exit 77;
30fi
31
32echo @ECHO_N@ "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.