Ignore:
Timestamp:
Jul 11, 2011, 5:11:27 PM (10 years ago)
Author:
Peter
Message:

new functions in common_defs (taken from svndigest's test suite). using these functions in doxygen_test to simplify syntax.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/doxygen_test.sh

    r2518 r2519  
    2323
    2424required=doxygen
    25 . ./common_defs.sh || exit 1
    26 
    27 if test $have_doxygen = "no"; then
    28     echo Skipped;
    29     exit 77;
    30 fi
     25. ./common_defs.sh || exit 99
    3126
    3227printf "doxygen "
    3328$DOXYGEN --version
    34 (cd $abs_top_builddir/doc && make doc < /dev/null) || exit 1
    35 if test ! -e $abs_top_builddir/doc/doxygen.error; then
    36     echo Cannot find file: $abs_top_builddir/doc/doxygen.error
    37     exit 1;
    38 fi
    39 if test -s $abs_top_builddir/doc/doxygen.error; then
     29(cd $abs_top_builddir/doc && make doc < /dev/null) || exit_fail
    4030
    41     cat $abs_top_builddir/doc/doxygen.error
    42     exit 1;
    43 fi
    44 echo Test is OK
    45 
    46 exit 0
     31cat $abs_top_builddir/doc/doxygen.error || test_fail
     32test -s $abs_top_builddir/doc/doxygen.error && exit_fail
     33exit_success
Note: See TracChangeset for help on using the changeset viewer.