]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Adjust the columns in test.sh.
[xml-template] / tests / test.sh
index 2587b4451646bc1c8e564abae8323572222ed2b0..19c6cf989dfbddf67eaa921bc8558a9c1d187d27 100755 (executable)
@@ -1,11 +1,15 @@
 #! /bin/sh
 
-TESTS="passthru simple clone include attribute attribute2"
-LANGUAGES="perl php python"
+if [ -z "$TESTS" ]; then
+       TESTS="passthru simple clone include attribute attribute2 attribute-empty"
+fi
+if [ -z "$LANGUAGES" ]; then
+       LANGUAGES="perl php python"
+fi
 
 for L in $LANGUAGES; do
        for T in $TESTS; do
-               echo -n "Testing $L/$T... "
+               printf "%-35s" "Testing $L/$T..."
                TEMPFILE=$( tempfile )
 
                if [ "$L" = "perl" ]; then