From f790bd028cceca6f19b0690124e913baf897cb0e Mon Sep 17 00:00:00 2001 From: antirez Date: Fri, 15 Jul 2011 17:20:57 +0200 Subject: Added a 'runtest' script that is responsible to check if Tcl is available and run the test. This is invoked from Makefile as well. --- runtest | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 runtest (limited to 'runtest') 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 $* -- cgit v1.2.1