6 echo "Running suite(s): gtk-doc-tools";
8 # we can use which here as we override the path in TEST_ENVIRONMENT
12 for file in gtkdoc-check gtkdoc-fixxref gtkdoc-mkdb gtkdoc-mktmpl gtkdoc-rebase gtkdoc-scan gtkdoc-scangobj gtkdoc-scanobj
; do
13 @PERL@
-cwT `which $file`
14 if test $?
= 1 ; then failed
=$
(($failed + 1)); fi
15 tested
=$
(($tested + 1))
21 for file in gtkdoc-mkhtml gtkdoc-mkman gtkdoc-mkpdf gtkdocize
; do
23 if test $?
!= 0 ; then
24 failed
=$
(($failed + 1));
26 echo `which $file`" syntax OK";
28 tested
=$
(($tested + 1))
34 for file in $ABS_TOP_BUILDDIR/*.xsl
; do
35 xmllint
--noout --noent $file
36 if test $?
!= 0 ; then
37 failed
=$
(($failed + 1));
39 echo "$file syntax OK";
41 tested
=$
(($tested + 1))
46 rate
=$
((100*($tested - $failed)/$tested));
47 echo "$rate %: Checks $tested, Failures: $failed"
48 exit `test $failed = 0`;