X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Ftest.sh;fp=tests%2Ftest.sh;h=3b281158f06c1bd37d2266d8ccd5bf8d256d73c9;hb=bcaa7bbbb271d7d83017218b5e2965c239aaad8d;hp=ed601caf60981c8d7734503262e782e3162f3aa1;hpb=c402a466eea6abecd4d7fcf1b7f80b8d2519e80f;p=xml-template diff --git a/tests/test.sh b/tests/test.sh index ed601ca..3b28115 100755 --- a/tests/test.sh +++ b/tests/test.sh @@ -4,7 +4,7 @@ if [ -z "$TESTS" ]; then TESTS="passthru simple clone include attribute attribute2 attribute3 attribute-empty namespace namespace2 structure" fi if [ -z "$LANGUAGES" ]; then - LANGUAGES="perl perl-sax php4 python ruby" + LANGUAGES="perl perl-sax php4 php5 python ruby" fi for L in $LANGUAGES; do @@ -21,6 +21,9 @@ for L in $LANGUAGES; do if [ "$L" = "php4" ]; then php4-cgi -q ../php4/$T.php > $TEMPFILE fi + if [ "$L" = "php5" ]; then + php5-cgi -q ../php5/$T.php > $TEMPFILE + fi if [ "$L" = "python" ]; then python ../python/$T.py > $TEMPFILE fi