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);
|
||||
|
||||
try
|
||||
// This call must fail
|
||||
abstract_foo_meth(1);
|
||||
swigtesterror();
|
||||
catch
|
||||
end
|
||||
// These calls must fail
|
||||
ierr = execstr('abstract_foo_meth(1)', 'errcatch');
|
||||
if ierr == 0 then swigtesterror(); end
|
||||
|
||||
try
|
||||
// This call must fail
|
||||
abstract_bar_meth(1);
|
||||
swigtesterror();
|
||||
catch
|
||||
end
|
||||
ierr = execstr('abstract_bar_meth(1)', 'errcatch');
|
||||
if ierr == 0 then swigtesterror(); end
|
||||
|
||||
exec("swigtest.quit", -1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue