git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-sploving@12266 626c5289-ae23-0410-ae9c-e8d60b6d4f22
20 lines
442 B
Scilab
20 lines
442 B
Scilab
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 swigtesterror(); end
|
|
if importtest2("black") <> "white" then swigtesterror(); end
|
|
|
|
exec("swigtest.quit", -1);
|