Permalink
Browse files

Avoid bug reports when Tcl is not installed.

  • Loading branch information...
1 parent fc879ab commit b3bc4452d26304c620fbca5a20db4b695eb8229c @djanowski committed Jun 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Makefile
View
@@ -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

0 comments on commit b3bc445

Please sign in to comment.