8 echo "Running suite(s): gtk-doc-$suite";
10 # we use 'which' here as we override the path in TEST_ENVIRONMENT
14 for file in gtkdocize
; do
16 if test $?
!= 0 ; then failed
=`expr $failed + 1`; fi
17 tested
=`expr $tested + 1`
22 for file in $ABS_TOP_SRCDIR/*.xsl
; do
23 xmllint
--noout --noent $file
24 if test $?
!= 0 ; then failed
=`expr $failed + 1`; fi
25 tested
=`expr $tested + 1`
30 # TODO: also test the module files
31 for file in gtkdoc-check gtkdoc-depscan gtkdoc-fixxref gtkdoc-mkdb gtkdoc-mkhtml gtkdoc-mkhtml2 gtkdoc-mkman gtkdoc-mkpdf gtkdoc-rebase gtkdoc-scangobj
; do
32 fullfile
=`which $file`
33 @PYTHON@
-m py_compile
$fullfile
34 if test $?
!= 0 ; then failed
=`expr $failed + 1`; fi
35 tested
=`expr $tested + 1`
40 successes
=`expr $tested - $failed`
42 rate
=`expr 100 \* $successes / $tested`;
43 echo "$rate %: Checks $tested, Failures: $failed"