]> git.saurik.com Git - redis.git/blobdiff - src/Makefile
Merge pull request #63 from djanowski/tcl
[redis.git] / src / Makefile
index 292255cd50bba53d718b6b011ab8c336b705b972..9801dca6198c6bbdc10e3255f63d4bb1def9c610 100644 (file)
@@ -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