test-sds target in Makefile to run sds.c tests.

This commit is contained in:
antirez 2014-12-10 09:50:27 +01:00
parent 9bb4ef871e
commit 0195afae39

View File

@ -221,6 +221,10 @@ lcov:
@geninfo -o redis.info . @geninfo -o redis.info .
@genhtml --legend -o lcov-html redis.info @genhtml --legend -o lcov-html redis.info
test-sds: sds.c sds.h
$(REDIS_CC) sds.c zmalloc.c -DSDS_TEST_MAIN -o /tmp/sds_test
/tmp/sds_test
.PHONY: lcov .PHONY: lcov
bench: $(REDIS_BENCHMARK_NAME) bench: $(REDIS_BENCHMARK_NAME)