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 e2a71338eb
commit fbed632f3a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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