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:
parent
9a711d866f
commit
f77b1da32e
2 changed files with 12 additions and 5 deletions
|
|
@ -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@
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue