diff options
| author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-21 04:58:34 +0200 |
|---|---|---|
| committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2014-01-21 05:02:58 +0200 |
| commit | 7280f790881fa174e4d234266ff42f0fe3d847bc (patch) | |
| tree | 1886155190f5d9d3a376e67735dd7c4144335eae | |
| parent | 4c316552c16fa2bcb77e007d330dc32beaf6e652 (diff) | |
run-tests: Allow to run tests selectively via command line.
| -rwxr-xr-x | tests/run-tests | 9 |
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 |
