]> git.saurik.com Git - redis.git/commitdiff
Avoid bug reports when Tcl is not installed.
authorDamian Janowski <damian.janowski@gmail.com>
Fri, 24 Jun 2011 16:56:06 +0000 (13:56 -0300)
committerDamian Janowski <damian.janowski@gmail.com>
Fri, 24 Jun 2011 16:56:06 +0000 (13:56 -0300)
src/Makefile

index e08c698764df04308b2f220a8212d3299b944576..81bd245936f1a4f633979d3fa169498adef1bac2 100644 (file)
@@ -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