From fc77604c47c6b8d57153349260a7a7e5b0d833b6 Mon Sep 17 00:00:00 2001 From: antirez Date: Mon, 14 Dec 2009 13:48:24 -0500 Subject: a few more tests and ability to run a specific test in test-redis.tcl --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 34b35f576..c036e10cd 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,7 @@ redis-cli: $(CLIOBJ) $(CC) -c $(CFLAGS) $(DEBUG) $(COMPILE_TIME) $< clean: - rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) *.o + rm -rf $(PRGNAME) $(BENCHPRGNAME) $(CLIPRGNAME) *.o *.gcda *.gcno *.gcov dep: $(CC) -MM *.c @@ -80,5 +80,8 @@ log: gprof: make PROF="-pg" +gcov: + make PROF="-fprofile-arcs -ftest-coverage" + 32bitgprof: make PROF="-pg" ARCH="-arch i386" -- cgit v1.2.1