fix some issue and two test-suit:simple_array, li_math
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@11503 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b81ec23048
commit
756f2645ce
17 changed files with 223 additions and 83 deletions
|
|
@ -28,7 +28,7 @@ include $(srcdir)/../common.mk
|
|||
# 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 < $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ; ) \
|
||||
env LD_LIBRARY_PATH=.:$$LD_LIBRARY_PATH $(RUNTOOL) $(SCILAB) -nwni -nb -f $(srcdir)/$(SCRIPTPREFIX)$*$(SCRIPTSUFFIX) ; ) \
|
||||
fi; \
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,3 @@
|
|||
exec enums_builder.sce
|
||||
exec loader.sce
|
||||
exec enums.sce
|
||||
|
||||
|
|
|
|||
7
Examples/test-suite/scilab/li_math_runme.sci
Normal file
7
Examples/test-suite/scilab/li_math_runme.sci
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
exec loader.sce;
|
||||
exec li_math.sce;
|
||||
|
||||
x = fmod(M_PI, M_1_PI)
|
||||
|
||||
exit
|
||||
|
||||
7
Examples/test-suite/scilab/simple_array_runme.sci
Normal file
7
Examples/test-suite/scilab/simple_array_runme.sci
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
exec loader.sce
|
||||
|
||||
initArray();
|
||||
x_get()
|
||||
y_get()
|
||||
|
||||
exit
|
||||
|
|
@ -1,8 +1,7 @@
|
|||
exec struct_rename_builder.sce
|
||||
exec loader.sce
|
||||
|
||||
a = new_Bar();
|
||||
Bar_x_set(100);
|
||||
Bar_x_get();
|
||||
Bar_x_set(a,100);
|
||||
if Bar_x_get(a) <> 100 then pause,end
|
||||
|
||||
exit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue