Create log file to avoid unnecessary verbose
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12385 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b3220fe33f
commit
a189fa861d
1 changed files with 4 additions and 4 deletions
|
|
@ -17,17 +17,17 @@ include $(srcdir)/../common.mk
|
|||
# Rules for the different types of tests
|
||||
%.cpptest:
|
||||
@$(setup)
|
||||
@+$(swig_and_compile_cpp)
|
||||
@+$(swig_and_compile_cpp) > scilab.log
|
||||
@$(run_testcase)
|
||||
|
||||
%.ctest:
|
||||
@$(setup)
|
||||
@+$(swig_and_compile_c)
|
||||
@+$(swig_and_compile_c) > scilab.log
|
||||
@$(run_testcase)
|
||||
|
||||
%.multicpptest:
|
||||
@$(setup)
|
||||
@+$(swig_and_compile_multi_cpp)
|
||||
@+$(swig_and_compile_multi_cpp) > scilab.log
|
||||
@$(run_testcase)
|
||||
|
||||
# Runs the testcase. A testcase is only run if
|
||||
|
|
@ -36,7 +36,7 @@ run_testcase = \
|
|||
if [ -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ]; then ( \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(SCILAB) -nwni -nb -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ; ) \
|
||||
else \
|
||||
(echo "**********************\n* RUNME FILE MISSING *\n* $(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) *\n**********************") \
|
||||
(echo "*** RUNME FILE NOT FOUND: $(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ***") \
|
||||
fi; \
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue