From: Salvatore Sanfilippo Date: Fri, 24 Jun 2011 16:59:37 +0000 (-0700) Subject: Merge pull request #63 from djanowski/tcl X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/a004de0f1509c0ff499e6fc28da2f7e308e14e40?hp=c1c9d551da6dd534c8dae051a3a7e64bf7db6bfb Merge pull request #63 from djanowski/tcl Add warning when `tcl` is not available to run tests --- diff --git a/src/Makefile b/src/Makefile index 292255cd..9801dca6 100644 --- a/src/Makefile +++ b/src/Makefile @@ -196,7 +196,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