Skip to content

Commit

Permalink
Add a README.dev file with some info about valgrind and a suppression…
Browse files Browse the repository at this point in the history
…s file for valgrind
  • Loading branch information
autarch committed Oct 1, 2013
1 parent 8eabb0e commit 66143e6
Show file tree
Hide file tree
Showing 2 changed files with 492 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.dev.md
@@ -0,0 +1,13 @@
== Running valgrind

This distro ships with a valgrind suppressions file that suppresses leaks that
occur from inside the Perl core as well as leaks from other modules.

You can valgrind with a command like this:

./Build && \
valgrind --leak-check=full --num-callers=50 --suppressions=./valgrind.supp \
-- perl -Mblib -I ../MaxMind-DB-Reader-perl/lib/ t/MaxMind/DB/Reader.t

This assumes you have the MaxMind-DB-Reader-perl repo checked out in the
parent directory.

0 comments on commit 66143e6

Please sign in to comment.