]> git.sesse.net Git - xml-template/commitdiff
Don't need to run the full battery of tests every time.
authorsgunderson@bigfoot.com <>
Wed, 6 Sep 2006 14:54:33 +0000 (16:54 +0200)
committersgunderson@bigfoot.com <>
Wed, 6 Sep 2006 14:54:33 +0000 (16:54 +0200)
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