]>
git.saurik.com Git - redis.git/blob - test/test_helper.tcl
33c507f2e9f25291871f407163c3cecae6e23e97
1 # Redis test suite. Copyright (C) 2009 Salvatore Sanfilippo antirez@gmail.com
2 # This softare is released under the BSD License. See the COPYING file for
6 source test
/support
/redis.tcl
7 source test
/support
/server.tcl
8 source test
/support
/tmpfile.tcl
9 source test
/support
/test.tcl
10 source test
/support
/util.tcl
16 proc execute_tests name
{
18 source "test/$name.tcl"
21 # setup a list to hold a stack of clients. the proc "r" provides easy
22 # access to the client at the top of the stack
25 set client
[lindex $::clients end
]
30 execute_tests
"unit/auth"
31 execute_tests
"unit/protocol"
32 execute_tests
"unit/basic"
33 execute_tests
"unit/type/list"
34 execute_tests
"unit/type/set"
35 execute_tests
"unit/type/zset"
36 execute_tests
"unit/type/hash"
37 execute_tests
"unit/sort"
38 execute_tests
"unit/expire"
39 execute_tests
"unit/other"
41 puts "\n[expr $::passed+$::failed] tests, $::passed passed, $::failed failed"
43 puts "\n*** WARNING!!! $::failed FAILED TESTS ***\n"
47 exec rm
-rf {*}[glob test
/tmp
/redis.conf.
*]
48 exec rm
-rf {*}[glob test
/tmp
/server.
*]