summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-07 00:09:59 +0200
committerBruno Haible <bruno@clisp.org>2009-04-08 13:02:33 +0200
commit3f1f7a4ed4803548df9656e1c91f980e1bf68724 (patch)
tree119383d984aa4b924fde2eec98d50d15f58c9587 /HACKING
parent38ed6193c913a56183c37dc0dd0f2b9b6a8937ae (diff)
downloadlibunistring-3f1f7a4ed4803548df9656e1c91f980e1bf68724.tar.gz
Support for running valgrind.
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING12
1 files changed, 12 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index 4c557c7..d4fbe66 100644
--- a/HACKING
+++ b/HACKING
@@ -42,3 +42,15 @@ Sources
=======
Most of the sources have their origin in gnulib.
+
+
+Running the testsuite in valgrind
+=================================
+
+To run the test suite with a memory access checker and leak detector such as
+valgrind,
+ 1) configure with the options --disable-shared and CFLAGS="-g",
+ 2) run "make",
+ 3) edit tests/Makefile to uncomment the appropriate definition of the CHECKER
+ macro,
+ 4) run "make check".