Commits

Salvatore Sanfilippo  committed a004de0 Merge

Merge pull request #63 from djanowski/tcl

Add warning when `tcl` is not available to run tests

  • Participants
  • Parent commits c1c9d55, b3bc445
  • Tags with-deprecated-diskstore

Comments (0)

Files changed (1)

File src/Makefile

 	$(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