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:
William S Fulton 2004-10-04 20:04:22 +00:00
commit 571292260e
3 changed files with 20 additions and 28 deletions

View file

@ -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";
}