aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2000-11-13 09:51:01 +0000
committerDaniel Stenberg <daniel@haxx.se>2000-11-13 09:51:01 +0000
commit3f0aa0648f438b205174c39cedad834e33fade4f (patch)
tree0d77d09d35179dd91e57db5cdaec48dd59505cd2 /tests
parenta58e336d856d4e9674c9c8f04309d3836ba05fd8 (diff)
defaults to run all available test cases in (1 - last) order
Diffstat (limited to 'tests')
-rwxr-xr-xtests/runtests.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/runtests.sh b/tests/runtests.sh
index d8d61649e..53c04748a 100755
--- a/tests/runtests.sh
+++ b/tests/runtests.sh
@@ -15,7 +15,10 @@ NC=nc
# Normally, all test cases should be run, but at times it is handy to
# 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
@@ -186,6 +189,10 @@ runserver
# 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
singletest $NUMBER