From: Damian Janowski Date: Fri, 24 Jun 2011 16:56:06 +0000 (-0300) Subject: Avoid bug reports when Tcl is not installed. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/b3bc4452d26304c620fbca5a20db4b695eb8229c?hp=-c Avoid bug reports when Tcl is not installed. --- b3bc4452d26304c620fbca5a20db4b695eb8229c diff --git a/src/Makefile b/src/Makefile index e08c6987..81bd2459 100644 --- a/src/Makefile +++ b/src/Makefile @@ -178,7 +178,7 @@ dep: $(CC) -MM *.c -I ../deps/hiredis -I ../deps/linenoise test: redis-server - (cd ..; tclsh8.5 tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}") + @(cd ..; (which tclsh >/dev/null && tclsh tests/test_helper.tcl --tags "${TAGS}" --file "${FILE}") || echo "You need to install Tcl in order to run tests.") bench: ./redis-benchmark