~ubuntu-branches/ubuntu/maverick/swig1.3/maverick

« back to all changes in this revision

Viewing changes to Examples/test-suite/perl5/multiple_inheritance_runme.pl

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 
4
4
$fooBar = new multiple_inheritance::FooBar();
5
5
if ($fooBar->foo() != 2) {
6
 
  print "Runtime test1 failed\n";
7
 
  exit 1;
 
6
  die "Runtime test1 failed\n";
8
7
}
9
8
 
10
9
if ($fooBar->bar() != 1) {
11
 
  print "Runtime test2 failed\n";
12
 
  exit 1;
 
10
  die "Runtime test2 failed\n";
13
11
}
14
12
 
15
13
if ($fooBar->fooBar() != 3) {
16
 
  print "Runtime test3 failed\n";
17
 
  exit 1;
 
14
  die "Runtime test3 failed\n";
18
15
}