2517 |
11 Jul 11 |
peter |
#!/bin/sh |
1367 |
10 Jul 08 |
peter |
2 |
|
1367 |
10 Jul 08 |
peter |
# $Id$ |
1367 |
10 Jul 08 |
peter |
4 |
|
2119 |
12 Dec 09 |
peter |
# Copyright (C) 2008 Jari Häkkinen, Peter Johansson |
4062 |
05 Jun 21 |
peter |
# Copyright (C) 2009, 2010, 2011, 2012, 2013, 2019, 2020, 2021 Peter Johansson |
1367 |
10 Jul 08 |
peter |
7 |
# |
1469 |
02 Sep 08 |
peter |
# This file is part of the yat library, http://dev.thep.lu.se/yat |
1367 |
10 Jul 08 |
peter |
9 |
# |
1367 |
10 Jul 08 |
peter |
# The yat library is free software; you can redistribute it |
1367 |
10 Jul 08 |
peter |
# and/or modify it under the terms of the GNU General Public License as |
1486 |
09 Sep 08 |
jari |
# published by the Free Software Foundation; either version 3 of the |
1367 |
10 Jul 08 |
peter |
# License, or (at your option) any later version. |
1367 |
10 Jul 08 |
peter |
14 |
# |
1367 |
10 Jul 08 |
peter |
# The yat library is distributed in the hope that it will be useful, |
1367 |
10 Jul 08 |
peter |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
1367 |
10 Jul 08 |
peter |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
1367 |
10 Jul 08 |
peter |
# General Public License for more details. |
1367 |
10 Jul 08 |
peter |
19 |
# |
1367 |
10 Jul 08 |
peter |
# You should have received a copy of the GNU General Public License |
1487 |
10 Sep 08 |
jari |
# along with yat. If not, see <http://www.gnu.org/licenses/>. |
1367 |
10 Jul 08 |
peter |
22 |
# |
1367 |
10 Jul 08 |
peter |
23 |
|
2517 |
11 Jul 11 |
peter |
24 |
required=doxygen |
3036 |
03 Jun 13 |
peter |
25 |
. test/init.sh || exit 99 |
1907 |
17 Apr 09 |
peter |
26 |
|
3816 |
12 Jul 19 |
peter |
27 |
version=`$DOXYGEN --version` |
3816 |
12 Jul 19 |
peter |
28 |
echo "doxygen $version" |
3816 |
12 Jul 19 |
peter |
29 |
|
3943 |
17 Jul 20 |
peter |
30 |
error_file=$abs_top_builddir/doc/doxygen.error |
3943 |
17 Jul 20 |
peter |
31 |
test -r ${error_file} || exit_fatal |
3943 |
17 Jul 20 |
peter |
32 |
cat ${error_file} || test_fail |
3816 |
12 Jul 19 |
peter |
33 |
|
3943 |
17 Jul 20 |
peter |
# doxygen 1.8.15 causes warnings as reported here |
3943 |
17 Jul 20 |
peter |
# https://github.com/doxygen/doxygen/issues/851. The warning has been |
3943 |
17 Jul 20 |
peter |
# seen with doxygen 1.8.17 and 1.8.18 as well and is only seen in file |
3943 |
17 Jul 20 |
peter |
# 'yat/utility/BLAS_level2.h' |
3943 |
17 Jul 20 |
peter |
38 |
# |
4062 |
05 Jun 21 |
peter |
# Here let's assume issue will not be solved in doxygen 1.8.x; it is |
4062 |
05 Jun 21 |
peter |
# still present in 1.9.1. Let's hope it's fixed in 1.10 |
4062 |
05 Jun 21 |
peter |
41 |
if echo x$version | grep "^x1\.8\.1[5-9]$" > /dev/null || \ |
4062 |
05 Jun 21 |
peter |
42 |
echo x$version | grep "^x1\.8\.[2-9]$" > /dev/null || \ |
4062 |
05 Jun 21 |
peter |
43 |
echo x$version | grep "^x1\.9\." > /dev/null; then |
4062 |
05 Jun 21 |
peter |
44 |
cat ${error_file} \ |
4062 |
05 Jun 21 |
peter |
45 |
| grep -v 'yat/utility/BLAS_level2.h.*relates' && exit_fail |
3943 |
17 Jul 20 |
peter |
46 |
else |
3943 |
17 Jul 20 |
peter |
47 |
test -s ${error_file} && exit_fail |
3943 |
17 Jul 20 |
peter |
48 |
fi |
3943 |
17 Jul 20 |
peter |
49 |
|
2519 |
11 Jul 11 |
peter |
50 |
exit_success |