Adds redis-cli and redis-benchmark dependencies for make test target

Obsoletes the need to run `make` before `make test`.
This commit is contained in:
Mota 2020-08-12 03:01:15 +08:00 committed by GitHub
parent 3ec7f8e915
commit 75fe12dbda

View File

@ -326,10 +326,10 @@ distclean: clean
.PHONY: distclean
test: $(REDIS_SERVER_NAME) $(REDIS_CHECK_AOF_NAME)
test: $(REDIS_SERVER_NAME) $(REDIS_CHECK_AOF_NAME) $(REDIS_CLI_NAME) $(REDIS_BENCHMARK_NAME)
@(cd ..; ./runtest)
test-sentinel: $(REDIS_SENTINEL_NAME)
test-sentinel: $(REDIS_SENTINEL_NAME) $(REDIS_CLI_NAME)
@(cd ..; ./runtest-sentinel)
check: test