mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
new option for choosing number of test clients to run
This commit is contained in:
parent
84e5684bca
commit
7cc17ed8ff
@ -345,6 +345,7 @@ proc print_help_screen {} {
|
||||
"--quiet Don't show individual tests."
|
||||
"--single <unit> Just execute the specified unit (see next option)."
|
||||
"--list-tests List all the available test units."
|
||||
"--clients <num> Number of test clients (16)."
|
||||
"--force-failure Force the execution of a test that always fails."
|
||||
"--help Print this help screen."
|
||||
} "\n"]
|
||||
@ -390,6 +391,9 @@ for {set j 0} {$j < [llength $argv]} {incr j} {
|
||||
set ::client 1
|
||||
set ::test_server_port $arg
|
||||
incr j
|
||||
} elseif {$opt eq {--clients}} {
|
||||
set ::numclients $arg
|
||||
incr j
|
||||
} elseif {$opt eq {--help}} {
|
||||
print_help_screen
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user