mirror of https://mirror.osredm.com/root/redis.git
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:
parent
e2a71338eb
commit
fbed632f3a
|
@ -326,10 +326,10 @@ distclean: clean
|
||||||
|
|
||||||
.PHONY: distclean
|
.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)
|
@(cd ..; ./runtest)
|
||||||
|
|
||||||
test-sentinel: $(REDIS_SENTINEL_NAME)
|
test-sentinel: $(REDIS_SENTINEL_NAME) $(REDIS_CLI_NAME)
|
||||||
@(cd ..; ./runtest-sentinel)
|
@(cd ..; ./runtest-sentinel)
|
||||||
|
|
||||||
check: test
|
check: test
|
||||||
|
|
Loading…
Reference in New Issue