3 TESTS="simple clone include attribute attribute2"
4 LANGUAGES="perl php python"
6 for L in $LANGUAGES; do
8 echo -n "Testing $L/$T... "
11 if [ "$L" = "perl" ]; then
12 perl -I../perl ../perl/$T.pl > $TEMPFILE
14 if [ "$L" = "php" ]; then
15 php4-cgi ../php/$T.php > $TEMPFILE
17 if [ "$L" = "php" ]; then
18 python ../python/$T.py > $TEMPFILE
21 perl ./xml-diff.pl $TEMPFILE reference/$T.xml 2>/dev/null