minor runtime test mods
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6302 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
c9258ba752
commit
571292260e
3 changed files with 20 additions and 28 deletions
|
|
@ -3,16 +3,13 @@ use multiple_inheritance;
|
|||
|
||||
$fooBar = new multiple_inheritance::FooBar();
|
||||
if ($fooBar->foo() != 2) {
|
||||
print "Runtime test1 failed\n";
|
||||
exit 1;
|
||||
die "Runtime test1 failed\n";
|
||||
}
|
||||
|
||||
if ($fooBar->bar() != 1) {
|
||||
print "Runtime test2 failed\n";
|
||||
exit 1;
|
||||
die "Runtime test2 failed\n";
|
||||
}
|
||||
|
||||
if ($fooBar->fooBar() != 3) {
|
||||
print "Runtime test3 failed\n";
|
||||
exit 1;
|
||||
die "Runtime test3 failed\n";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue