From 0195afae39b590cfe30778f6685731f9bb663775 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 96af74af..57b8dbb8 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)