Skip to content
Snippets Groups Projects
Commit 7280f790 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

run-tests: Allow to run tests selectively via command line.

parent 4c316552
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment