redict/runtest-cluster
Drew DeVault e4d11cf0b3 Rig up test suites to Meson
Signed-off-by: Drew DeVault <sir@cmpwn.com>
2024-09-18 10:04:02 +02:00

22 lines
405 B
Bash
Executable File

#!/bin/sh
#
# SPDX-FileCopyrightText: 2024 Redict Contributors
#
# SPDX-License-Identifier: LGPL-3.0-only
TCL_VERSIONS="8.5 8.6 8.7"
TCLSH=""
for VERSION in $TCL_VERSIONS; do
TCL=`which tclsh$VERSION 2>/dev/null` && TCLSH=$TCL
done
if [ -z $TCLSH ]
then
echo "You need tcl 8.5 or newer in order to run the Redis Cluster test"
exit 1
fi
. utils/testenv-make.sh
$TCLSH tests/cluster/run.tcl $*