diff options
author | antirez <antirez@gmail.com> | 2010-04-15 18:32:44 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2010-04-15 18:32:44 +0200 |
commit | fb765a0ae39e07e58aa822dd755549de2be89d2d (patch) | |
tree | b38ad4413806927b1b1b34e704aa7c92bcb0de69 /Makefile | |
parent | 8ca3e9d10b013263a5356c81882b00e619a88720 (diff) | |
download | redis-fb765a0ae39e07e58aa822dd755549de2be89d2d.tar.gz |
ability to select port/host from make test
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -13,6 +13,8 @@ else endif CCOPT= $(CFLAGS) $(CCLINK) $(ARCH) $(PROF) DEBUG?= -g -rdynamic -ggdb +HOST?= 127.0.0.1 +PORT?= 6379 OBJ = adlist.o ae.o anet.o dict.o redis.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o BENCHOBJ = ae.o anet.o redis-benchmark.o sds.o adlist.o zmalloc.o @@ -79,7 +81,7 @@ staticsymbols: tclsh utils/build-static-symbols.tcl > staticsymbols.h test: - tclsh test-redis.tcl + tclsh test-redis.tcl -p $(PORT) -h $(HOST) bench: ./redis-benchmark |