xref: /redis-3.2.3/runtest (revision a405979f)
1ac834d23Santirez#!/bin/sh
2*a405979fSJohan BergströmTCL_VERSIONS="8.5 8.6"
3*a405979fSJohan BergströmTCLSH=""
4*a405979fSJohan Bergström
5*a405979fSJohan Bergströmfor VERSION in $TCL_VERSIONS; do
6*a405979fSJohan Bergström	TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
7*a405979fSJohan Bergströmdone
8*a405979fSJohan Bergström
9*a405979fSJohan Bergströmif [ -z $TCLSH ]
10f790bd02Santirezthen
11*a405979fSJohan Bergström    echo "You need tcl 8.5 or newer in order to run the Redis test"
12f790bd02Santirez    exit 1
13f790bd02Santirezfi
14*a405979fSJohan Bergström$TCLSH tests/test_helper.tcl $*
15