]> git.sesse.net Git - xml-template/blobdiff - tests/test.sh
Don't need to run the full battery of tests every time.
[xml-template] / tests / test.sh
index 2587b4451646bc1c8e564abae8323572222ed2b0..539dd5086102a77d0e0635497ea802395a5cfa74 100755 (executable)
@@ -1,7 +1,11 @@
 #! /bin/sh
 
-TESTS="passthru simple clone include attribute attribute2"
-LANGUAGES="perl php python"
+if [ -z "$TESTS" ]; then
+       TESTS="passthru simple clone include attribute attribute2"
+fi
+if [ -z "$LANGUAGES" ]; then
+       LANGUAGES="perl php python"
+fi
 
 for L in $LANGUAGES; do
        for T in $TESTS; do