From a6793ec030263c14c52e736b28ca17a3b99302d3 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 10 Dec 2014 09:50:27 +0100 Subject: [PATCH] test-sds target in Makefile to run sds.c tests. --- src/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/Makefile b/src/Makefile index 96af74afa..57b8dbb85 100644 --- a/src/Makefile +++ b/src/Makefile @@ -221,6 +221,10 @@ lcov: @geninfo -o 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 bench: $(REDIS_BENCHMARK_NAME)