Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Added valgrind target.
Browse files Browse the repository at this point in the history
This was used for #287.
  • Loading branch information
skx committed Apr 9, 2017
1 parent ff298d8 commit f80d269
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -241,3 +241,10 @@ install: lumail2

# if there is no config in-place, add the default
if [ ! -e $(LUMAIL_HOME)/lumail2.lua ] ; then cp ./lumail2.lua $(LUMAIL_HOME)/lumail2.lua ; fi


#
# Test for leaks; use the debug-build so we get line-number information, etc.
#
valgrind: lumail2-debug
valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes ./lumail2-debug --load-file ./lumail2.lua 2>leak.log

0 comments on commit f80d269

Please sign in to comment.