projects
/
platform
/
upstream
/
curl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e64b8a8
)
added help text on -h
author
Daniel Stenberg
<daniel@haxx.se>
Tue, 14 Nov 2000 10:28:25 +0000
(10:28 +0000)
committer
Daniel Stenberg
<daniel@haxx.se>
Tue, 14 Nov 2000 10:28:25 +0000
(10:28 +0000)
tests/runtests.pl
patch
|
blob
|
history
diff --git
a/tests/runtests.pl
b/tests/runtests.pl
index
e5e3a1b
..
be37618
100755
(executable)
--- a/
tests/runtests.pl
+++ b/
tests/runtests.pl
@@
-1,4
+1,5
@@
#!/usr/bin/perl
+# $Id$
#
# Main curl test script, in perl to run on more platforms
#
@@
-343,6
+344,18
@@
do {
# short output
$short=1;
}
+ elsif($ARGV[0] eq "-h") {
+ # show help text
+ print <<EOHELP
+Usage: runtests.pl [-h][-s][-v][numbers]
+ -h this help text
+ -s short output
+ -v verbose output
+ [num] as string like "5 6 9" to run those tests only
+EOHELP
+ ;
+ exit;
+ }
elsif($ARGV[0] =~ /^(\d+)/) {
$TESTCASES=$ARGV[0]; # run these tests
}