defaults to run all available test cases in (1 - last) order
This commit is contained in:
parent
a58e336d85
commit
3f0aa0648f
@ -15,7 +15,10 @@ NC=nc
|
|||||||
|
|
||||||
# Normally, all test cases should be run, but at times it is handy to
|
# Normally, all test cases should be run, but at times it is handy to
|
||||||
# simply run a particular one:
|
# simply run a particular one:
|
||||||
TESTCASES="9"
|
TESTCASES=all
|
||||||
|
|
||||||
|
# To run specific test cases, set them like:
|
||||||
|
# TESTCASES="1 2 3 7 8"
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
# No variables below this point should need to be modified
|
# No variables below this point should need to be modified
|
||||||
@ -186,6 +189,10 @@ runserver
|
|||||||
# The main test-loop
|
# The main test-loop
|
||||||
#
|
#
|
||||||
|
|
||||||
|
if [ x$TESTCASES = xall ]; then
|
||||||
|
TESTCASES=`ls -1 data/command*.txt | sed -e 's/[a-z\/\.]*//g'`
|
||||||
|
fi
|
||||||
|
|
||||||
for NUMBER in $TESTCASES; do
|
for NUMBER in $TESTCASES; do
|
||||||
|
|
||||||
singletest $NUMBER
|
singletest $NUMBER
|
||||||
|
Loading…
x
Reference in New Issue
Block a user