]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Start working on a SAX version of the Perl stuff. Very broken yet...
[xml-template] / tests / test.sh
index 38ab5e4a7336f9919aca5bd3bf1c58f7e4ee1713..24a105b616c491ee0cae8ccaf64d64e405d93a11 100755 (executable)
@@ -4,7 +4,7 @@ if [ -z "$TESTS" ]; then
        TESTS="passthru simple clone include attribute attribute2 attribute3 attribute-empty"
 fi
 if [ -z "$LANGUAGES" ]; then
-       LANGUAGES="perl php python"
+       LANGUAGES="perl perl-sax php python"
 fi
 
 for L in $LANGUAGES; do
@@ -15,6 +15,9 @@ for L in $LANGUAGES; do
                if [ "$L" = "perl" ]; then
                        perl -I../perl ../perl/$T.pl > $TEMPFILE
                fi
+               if [ "$L" = "perl-sax" ]; then
+                       perl -I../perl-sax ../perl-sax/$T.pl > $TEMPFILE
+               fi
                if [ "$L" = "php" ]; then
                        php4-cgi -q ../php/$T.php > $TEMPFILE
                fi