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,19 +1,20 @@
|
|||
exec loader.sce;
|
||||
exec("swigtest.start", -1);
|
||||
|
||||
try
|
||||
a = new_A();
|
||||
catch
|
||||
printf("did not find A\ntherefore, I did not include ""testdir/subdir1/hello.i""\n");
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
try
|
||||
b = new_B();
|
||||
catch
|
||||
printf("did not find B\ntherefore, I did not include ""testdir/subdir2/hello.i""\n");
|
||||
swigtesterror();
|
||||
end
|
||||
|
||||
if importtest1(5) <> 15 then pause, end
|
||||
if importtest2("black") <> "white" then pause, end
|
||||
|
||||
exit
|
||||
if importtest1(5) <> 15 then swigtesterror(); end
|
||||
if importtest2("black") <> "white" then swigtesterror(); end
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue