]> granicus.if.org Git - docbook-dsssl/commitdiff
Updated
authorNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 12:33:21 +0000 (12:33 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 7 Jul 2005 12:33:21 +0000 (12:33 +0000)
docbook/relaxng/tools/runtests

index ba60865d69379eed24c56fe06faef9c4b3cd9f97..bc8ae6e97acbd88dd76f3509e2a48678e6c310f8 100755 (executable)
@@ -6,6 +6,10 @@ XMLFILES=$@
 SRCDIR=/sourceforge/docbook/testdocs/tests
 DB4UPG=../../tools/db4-upgrade.xsl
 
+if [ ! -d passed -a -d tests ]; then
+    cd tests
+fi
+
 if [ ! -d passed ]; then
     echo "Directory 'passed' must exist. Are you sure you're in the right place?"
     exit 1
@@ -52,3 +56,6 @@ for f in $XMLFILES; do
     fi
 done
 
+TESTCOUNT=`echo $XMLFILES | wc -w`
+
+echo "$TESTCOUNT tests done"