scilab: fix test abstract_signature (scilab 6)
This commit is contained in:
parent
82fed351dd
commit
b0849ed1f5
1 changed files with 5 additions and 12 deletions
|
|
@ -1,17 +1,10 @@
|
||||||
exec("swigtest.start", -1);
|
exec("swigtest.start", -1);
|
||||||
|
|
||||||
try
|
// These calls must fail
|
||||||
// This call must fail
|
ierr = execstr('abstract_foo_meth(1)', 'errcatch');
|
||||||
abstract_foo_meth(1);
|
if ierr == 0 then swigtesterror(); end
|
||||||
swigtesterror();
|
|
||||||
catch
|
|
||||||
end
|
|
||||||
|
|
||||||
try
|
ierr = execstr('abstract_bar_meth(1)', 'errcatch');
|
||||||
// This call must fail
|
if ierr == 0 then swigtesterror(); end
|
||||||
abstract_bar_meth(1);
|
|
||||||
swigtesterror();
|
|
||||||
catch
|
|
||||||
end
|
|
||||||
|
|
||||||
exec("swigtest.quit", -1);
|
exec("swigtest.quit", -1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue