X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/fc96409f9193a7fda1dd509d16769272453f36c0..ffe003dcbe9e719659f9a9d690f5bc5fd7b0615e:/tests/test_helper.tcl diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl index 41c3557d..598a3929 100644 --- a/tests/test_helper.tcl +++ b/tests/test_helper.tcl @@ -29,12 +29,18 @@ set ::all_tests { integration/replication integration/replication-2 integration/replication-3 + integration/replication-4 integration/aof + integration/rdb + integration/convert-zipmap-hash-on-load unit/pubsub unit/slowlog unit/scripting unit/maxmemory unit/introspection + unit/limits + unit/obuf-limits + unit/dump } # Index to the next test to run in the ::all_tests list. set ::next_test 0 @@ -115,7 +121,7 @@ proc reconnect {args} { } # re-set $srv in the servers list - set ::servers [lreplace $::servers end+$level 1 $srv] + lset ::servers end+$level $srv } proc redis_deferring_client {args} { @@ -340,6 +346,7 @@ proc print_help_screen {} { "--quiet Don't show individual tests." "--single Just execute the specified unit (see next option)." "--list-tests List all the available test units." + "--clients Number of test clients (16)." "--force-failure Force the execution of a test that always fails." "--help Print this help screen." } "\n"] @@ -385,6 +392,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