]> git.saurik.com Git - redis.git/blobdiff - runtest
Added a 'runtest' script that is responsible to check if Tcl is available and run...
[redis.git] / runtest
diff --git a/runtest b/runtest
new file mode 100755 (executable)
index 0000000..2ea4d39
--- /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 $*