Fixes a few C++ test cases: clientdata_prop/imports/mod/multi_import/packageoption/template_typedef_import. Thx to Wolfgang Frisch

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12974 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Vincent Couvert 2012-04-10 19:56:17 +00:00
commit 654066529b

View file

@ -3,7 +3,7 @@
#######################################################################
LANGUAGE = scilab
SCILAB = @SCILAB@
SCILAB = @SCILAB@
SCRIPTSUFFIX = _runme.sci
srcdir = @srcdir@
top_srcdir = @top_srcdir@
@ -19,27 +19,26 @@ include $(srcdir)/../common.mk
# Rules for the different types of tests
%.cpptest:
@$(setup)
@+$(swig_and_compile_cpp) #> scilab.log
@$(run_testcase)
$(setup)
+$(swig_and_compile_cpp)
$(run_testcase)
%.ctest:
@$(setup)
@+$(swig_and_compile_c) #> scilab.log
@$(run_testcase)
$(setup)
+$(swig_and_compile_c)
$(run_testcase)
%.multicpptest:
@$(setup)
@+$(swig_and_compile_multi_cpp) > #scilab.log
@$(run_testcase)
$(setup)
+$(swig_and_compile_multi_cpp)
$(run_testcase)
# Runs the testcase. A testcase is only run if
# a file is found which has _runme.sci appended after the testcase name.
run_testcase = \
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(SCILAB) -nwni -nb -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ; ) \
fi; \
fi;
# Clean: remove the generated .sci file
%.clean: