Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7cc17ed8
"vscode:/vscode.git/clone" did not exist on "fcfdbda1046215d0cadb9cc4d120d36d97171ee5"
Commit
7cc17ed8
authored
Apr 03, 2012
by
Premysl Hruby
Browse files
new option for choosing number of test clients to run
parent
84e5684b
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/test_helper.tcl
View file @
7cc17ed8
...
@@ -345,6 +345,7 @@ proc print_help_screen {} {
...
@@ -345,6 +345,7 @@ proc print_help_screen {} {
"--quiet Don't show individual tests."
"--quiet Don't show individual tests."
"--single <unit> Just execute the specified unit (see next option)."
"--single <unit> Just execute the specified unit (see next option)."
"--list-tests List all the available test units."
"--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."
"--force-failure Force the execution of a test that always fails."
"--help Print this help screen."
"--help Print this help screen."
}
"
\n
"
]
}
"
\n
"
]
...
@@ -390,6 +391,9 @@ for {set j 0} {$j < [llength $argv]} {incr j} {
...
@@ -390,6 +391,9 @@ for {set j 0} {$j < [llength $argv]} {incr j} {
set ::client 1
set ::client 1
set ::test_server_port $arg
set ::test_server_port $arg
incr j
incr j
}
elseif
{
$opt
eq
{
--clients
}}
{
set ::numclients $arg
incr j
}
elseif
{
$opt
eq
{
--help
}}
{
}
elseif
{
$opt
eq
{
--help
}}
{
print_help_screen
print_help_screen
exit 0
exit 0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment