summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authordormando <dormando@rydia.net>2009-10-07 17:28:46 -0700
committerDustin Sallings <dustin@spy.net>2009-10-07 19:19:02 -0700
commit189b78dee18e0e707408ea264240fe5e91cb9841 (patch)
treec8bcabffd3f9257ff1c48d508d0d6731a2b1bb6c /HACKING
parentdd1810090867debdfa6c3df107a76de53578f43d (diff)
downloadmemcached-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--HACKING9
1 files changed, 9 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 8aabd28..28f3a5a 100644
--- a/HACKING
+++ b/HACKING
@@ -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.