aboutsummaryrefslogtreecommitdiff
path: root/tests/run-tests
diff options
context:
space:
mode:
authorDamien George2014-01-21 21:54:15 +0000
committerDamien George2014-01-21 21:54:15 +0000
commit12eaccacda83a15500dae4616b3c37deecb57182 (patch)
tree5ec75424388c0be9e3591f981982d891c07669cc /tests/run-tests
parent55baff4c9bcbc001cbb8972c289ebfa356d4665b (diff)
parent7280f790881fa174e4d234266ff42f0fe3d847bc (diff)
Merge branch 'master' of github.com:micropython/micropython
Conflicts: py/objstr.c py/py.mk py/stream.c unix/main.c unix/socket.c
Diffstat (limited to 'tests/run-tests')
-rwxr-xr-xtests/run-tests9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/run-tests b/tests/run-tests
index ef1368725..752138ccc 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