summaryrefslogtreecommitdiff
path: root/runtest
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2011-07-15 17:20:57 +0200
committerantirez <antirez@gmail.com>2011-07-15 17:20:57 +0200
commitf790bd028cceca6f19b0690124e913baf897cb0e (patch)
tree1d2f06db180d83e29492e1bd5fe438710704707f /runtest
parent319bb48c01b4c5be95b425e325d4b9ae46d4bced (diff)
downloadredis-f790bd028cceca6f19b0690124e913baf897cb0e.tar.gz
Added a 'runtest' script that is responsible to check if Tcl is available and run the test. This is invoked from Makefile as well.
Diffstat (limited to 'runtest')
-rwxr-xr-xruntest9
1 files changed, 9 insertions, 0 deletions
diff --git a/runtest b/runtest
new file mode 100755
index 000000000..2ea4d39be
--- /dev/null
+++ b/runtest
@@ -0,0 +1,9 @@
+#!/bin/bash
+TCL=tclsh8.5
+which $TCL
+if [ "$?" != "0" ]
+then
+ echo "You need '$TCL' in order to run the Redis test"
+ exit 1
+fi
+$TCL tests/test_helper.tcl $*