Improve Scilab test suite with start/quit scripts + remove useless display.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
2625a29a96
commit
f7d5a8cccc
22 changed files with 273 additions and 125 deletions
|
|
@ -1,7 +1,12 @@
|
|||
exec loader.sce;
|
||||
exec("swigtest.start", -1);
|
||||
|
||||
initArray();
|
||||
if x_get() <> int32([0,1,2,3,4,5,6,7,8,9]) then pause, end
|
||||
if y_get() <> [0/7,1/7,2/7,3/7,4/7,5/7,6/7] then pause, end
|
||||
try
|
||||
initArray();
|
||||
catch
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
exit
|
||||
if x_get() <> int32([0,1,2,3,4,5,6,7,8,9]) then swigtesterror(); end
|
||||
if y_get() <> [0/7,1/7,2/7,3/7,4/7,5/7,6/7] then swigtesterror(); end
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue