summaryrefslogtreecommitdiff
path: root/tests/test_helper.tcl
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-01-09 18:25:34 +0100
committerantirez <antirez@gmail.com>2011-01-09 18:25:34 +0100
commit69bfffb4a7aec38e5079ec10b0acc8629c1ee82b (patch)
treeb341ae664b176bdff280d9147d4ab839302e2705 /tests/test_helper.tcl
parent5e1d2d30f7b96c0aa808f8c6f9b267880c6097ca (diff)
downloadredis-69bfffb4a7aec38e5079ec10b0acc8629c1ee82b.tar.gz
test adapted to run with diskstore, and a few bugs fixed
Diffstat (limited to 'tests/test_helper.tcl')
-rw-r--r--tests/test_helper.tcl9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/test_helper.tcl b/tests/test_helper.tcl
index ec207b13a..aef2311c9 100644
--- a/tests/test_helper.tcl
+++ b/tests/test_helper.tcl
@@ -13,7 +13,7 @@ set ::host 127.0.0.1
set ::port 16379
set ::traceleaks 0
set ::valgrind 0
-set ::verbose 0
+set ::verbose 1
set ::denytags {}
set ::allowtags {}
set ::external 0; # If "1" this means, we are running against external instance
@@ -104,14 +104,13 @@ proc s {args} {
}
proc cleanup {} {
- if {$::diskstore} {
- puts "Cleanup: warning may take some minute (diskstore enabled)"
- }
+ puts "Cleanup: warning may take some time..."
catch {exec rm -rf {*}[glob tests/tmp/redis.conf.*]}
catch {exec rm -rf {*}[glob tests/tmp/server.*]}
}
proc execute_everything {} {
+ if 0 {
execute_tests "unit/auth"
execute_tests "unit/protocol"
execute_tests "unit/basic"
@@ -128,9 +127,11 @@ proc execute_everything {} {
execute_tests "integration/aof"
# execute_tests "integration/redis-cli"
execute_tests "unit/pubsub"
+ }
# run tests with diskstore enabled
set ::diskstore 1
+ lappend ::denytags nodiskstore
set ::global_overrides {diskstore-enabled yes}
execute_tests "unit/protocol"
execute_tests "unit/basic"