aboutsummaryrefslogtreecommitdiff
path: root/examples/redis-unstable/runtest-moduleapi
diff options
context:
space:
mode:
Diffstat (limited to 'examples/redis-unstable/runtest-moduleapi')
-rwxr-xr-xexamples/redis-unstable/runtest-moduleapi62
1 files changed, 62 insertions, 0 deletions
diff --git a/examples/redis-unstable/runtest-moduleapi b/examples/redis-unstable/runtest-moduleapi
new file mode 100755
index 0000000..1e3045b
--- /dev/null
+++ b/examples/redis-unstable/runtest-moduleapi
@@ -0,0 +1,62 @@
1#!/bin/sh
2TCL_VERSIONS="8.5 8.6 8.7"
3TCLSH=""
4[ -z "$MAKE" ] && MAKE=make
5
6for VERSION in $TCL_VERSIONS; do
7 TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
8done
9
10if [ -z $TCLSH ]
11then
12 echo "You need tcl 8.5 or newer in order to run the Redis ModuleApi test"
13 exit 1
14fi
15
16$MAKE -C tests/modules && \
17$TCLSH tests/test_helper.tcl \
18--single unit/moduleapi/commandfilter \
19--single unit/moduleapi/basics \
20--single unit/moduleapi/fork \
21--single unit/moduleapi/testrdb \
22--single unit/moduleapi/infotest \
23--single unit/moduleapi/moduleconfigs \
24--single unit/moduleapi/infra \
25--single unit/moduleapi/propagate \
26--single unit/moduleapi/hooks \
27--single unit/moduleapi/misc \
28--single unit/moduleapi/blockonkeys \
29--single unit/moduleapi/blockonbackground \
30--single unit/moduleapi/scan \
31--single unit/moduleapi/datatype \
32--single unit/moduleapi/auth \
33--single unit/moduleapi/keyspace_events \
34--single unit/moduleapi/blockedclient \
35--single unit/moduleapi/getchannels \
36--single unit/moduleapi/getkeys \
37--single unit/moduleapi/test_lazyfree \
38--single unit/moduleapi/defrag \
39--single unit/moduleapi/keyspecs \
40--single unit/moduleapi/hash \
41--single unit/moduleapi/zset \
42--single unit/moduleapi/list \
43--single unit/moduleapi/stream \
44--single unit/moduleapi/mallocsize \
45--single unit/moduleapi/datatype2 \
46--single unit/moduleapi/cluster \
47--single unit/moduleapi/aclcheck \
48--single unit/moduleapi/subcommands \
49--single unit/moduleapi/reply \
50--single unit/moduleapi/cmdintrospection \
51--single unit/moduleapi/eventloop \
52--single unit/moduleapi/timer \
53--single unit/moduleapi/publish \
54--single unit/moduleapi/usercall \
55--single unit/moduleapi/postnotifications \
56--single unit/moduleapi/async_rm_call \
57--single unit/moduleapi/moduleauth \
58--single unit/moduleapi/rdbloadsave \
59--single unit/moduleapi/crash \
60--single unit/moduleapi/internalsecret \
61--single unit/moduleapi/configaccess \
62"${@}"