add interpreter variable, so it can be used with valgrind

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7720 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-10-25 14:51:41 +00:00
commit 0ef79194be
3 changed files with 9 additions and 3 deletions

View file

@ -4,6 +4,8 @@
#######################################################################
LANGUAGE = perl5
#PERL = valgrind @PERL@
PERL = @PERL@
SCRIPTSUFFIX = _runme.pl
srcdir = @srcdir@
top_srcdir = @top_srcdir@
@ -43,7 +45,7 @@ include $(srcdir)/../common.mk
# a file is found which has _runme.pl appended after the testcase name.
run_testcase = \
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH @PERL@ $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(PERL) $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX);) \
fi;
# Clean: remove the generated .pm file