X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tests%2Ftest.sh;fp=tests%2Ftest.sh;h=ed601caf60981c8d7734503262e782e3162f3aa1;hb=c402a466eea6abecd4d7fcf1b7f80b8d2519e80f;hp=0b09ea4838f04de123a9ef297e129675d89829ce;hpb=6286ecbbc595e1e9c2ba62b289f4d985cbedd523;p=xml-template diff --git a/tests/test.sh b/tests/test.sh index 0b09ea4..ed601ca 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 php python ruby" + LANGUAGES="perl perl-sax php4 python ruby" fi for L in $LANGUAGES; do @@ -18,8 +18,8 @@ for L in $LANGUAGES; do 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 + if [ "$L" = "php4" ]; then + php4-cgi -q ../php4/$T.php > $TEMPFILE fi if [ "$L" = "python" ]; then python ../python/$T.py > $TEMPFILE