]> git.saurik.com Git - redis.git/commitdiff
Merge pull request #63 from djanowski/tcl
authorSalvatore Sanfilippo <antirez@gmail.com>
Fri, 24 Jun 2011 16:59:37 +0000 (09:59 -0700)
committerSalvatore Sanfilippo <antirez@gmail.com>
Fri, 24 Jun 2011 16:59:37 +0000 (09:59 -0700)
Add warning when `tcl` is not available to run tests

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