diff options
author | dormando <dormando@rydia.net> | 2009-10-07 17:28:46 -0700 |
---|---|---|
committer | Dustin Sallings <dustin@spy.net> | 2009-10-07 19:19:02 -0700 |
commit | 189b78dee18e0e707408ea264240fe5e91cb9841 (patch) | |
tree | c8bcabffd3f9257ff1c48d508d0d6731a2b1bb6c /HACKING | |
parent | dd1810090867debdfa6c3df107a76de53578f43d (diff) | |
download | memcached-189b78dee18e0e707408ea264240fe5e91cb9841.tar.gz |
Allow using an external daemon for perl tests.
Set T_MEMD_USE_DAEMON="127.0.0.1:11211" or similar to use an
external daemon. In a debugger, verbosely, or whatever.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -37,3 +37,12 @@ to keep the reporting accurate. To do so, add the following to #!/bin/sh ./version.sh + +** Running memcached in gdb for tests. + +By default `make test` will spawn a memcached daemon for each test. +This doesn't let you easily drop into gdb or run verbosely. + +If you export the environment variable +T_MEMD_USE_DAEMON="127.0.0.1:11211" the tests will use an existing +daemon at that address. |