summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rwxr-xr-xtests/run-tests9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests
index ef1368725f..752138ccc6 100755
--- a/tests/run-tests
+++ b/tests/run-tests
@@ -10,7 +10,14 @@ numpassed=0
numfailed=0
namefailed=
-for infile in basics/*.py io/*.py
+if [ $# -eq 0 ]
+then
+ tests="basics/*.py io/*.py"
+else
+ tests="$@"
+fi
+
+for infile in $tests
do
basename=`basename $infile .py`
outfile=${basename}.out