]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Split out the TemplateSAX modules into separate files.
[xml-template] / tests / test.sh
index 19c6cf989dfbddf67eaa921bc8558a9c1d187d27..24a105b616c491ee0cae8ccaf64d64e405d93a11 100755 (executable)
@@ -1,10 +1,10 @@
 #! /bin/sh
 
 if [ -z "$TESTS" ]; then
-       TESTS="passthru simple clone include attribute attribute2 attribute-empty"
+       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