add option to use valgrind

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8876 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-02-23 07:17:49 +00:00
commit f77b1da32e
2 changed files with 12 additions and 5 deletions

View file

@ -4,8 +4,11 @@
####################################################################### #######################################################################
LANGUAGE = ruby LANGUAGE = ruby
#RUBY = valgrind ruby ifneq (,$(USE_VALGRIND))
RUBY = ruby RUBY = valgrind --leak-check=full ruby
else
RUBY = ruby
endif
SCRIPTSUFFIX = _runme.rb SCRIPTSUFFIX = _runme.rb
srcdir = @srcdir@ srcdir = @srcdir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@

View file

@ -4,8 +4,11 @@
####################################################################### #######################################################################
LANGUAGE = tcl LANGUAGE = tcl
#TCLSH = valgrind tclsh ifneq (,$(USE_VALGRIND))
TCLSH = tclsh TCLSH = valgrind --leak-check=full tclsh
else
TCLSH = tclsh
endif
SCRIPTSUFFIX = _runme.tcl SCRIPTSUFFIX = _runme.tcl
srcdir = @srcdir@ srcdir = @srcdir@
top_srcdir = @top_srcdir@ top_srcdir = @top_srcdir@
@ -21,7 +24,8 @@ CPP_TEST_CASES += \
C_TEST_CASES += \ C_TEST_CASES += \
li_cdata \ li_cdata \
li_cstring \ li_cstring \
li_cwstring li_cwstring \
union
include $(srcdir)/../common.mk include $(srcdir)/../common.mk